i stick these on laptops (with +s permissions) in a folder called '/scripts' and 'ln -s' them into /usr/bin (without the .sh extensions) so that normal users can run them.
i have another couple of scripts called 'wired' and 'wireless' but since the wireless one has the WEP key encoded in it, i think i'll decline to put it online :) This message posted from opensolaris.org -------------- next part -------------- A non-text attachment was scrubbed... Name: setdns.sh Type: application/x-sh Size: 113 bytes Desc: not available URL: <http://mail.opensolaris.org/pipermail/laptop-discuss/attachments/20071219/1cd5c3bf/attachment.sh> -------------- next part -------------- A non-text attachment was scrubbed... Name: setnodns.sh Type: application/x-sh Size: 55 bytes Desc: not available URL: <http://mail.opensolaris.org/pipermail/laptop-discuss/attachments/20071219/1cd5c3bf/attachment-0001.sh> -------------- next part -------------- A non-text attachment was scrubbed... Name: setresolv.sh Type: application/x-sh Size: 781 bytes Desc: not available URL: <http://mail.opensolaris.org/pipermail/laptop-discuss/attachments/20071219/1cd5c3bf/attachment-0002.sh>
