mikshaw


Group: Members
Posts: 4856
Joined: July 2004 |
 |
Posted: Aug. 02 2005,15:39 |
 |
Nothing builtin, but you can get some of it accomplish with /opt/bootlocal.sh. Any Icons will have to be added yourself, and they will need to be scripted if you want to have them appear only when a device is mounted.
Put something like this in /opt/bootlocal.sh: if egrep -q mountall /proc/cmdline 2>/dev/null; then for DEVICE in /dev/{h,s}{a,b,c,d}{1,2,3,4} ; do if grep $DEVICE /etc/fstab 2>/dev/null; then mount $DEVICE <whatever script for adding an icon> fi done fi
Make sure opt/bootlocal.sh is in your backup
boot with "mountall"
As usual, this hasn't been tested =o)
-------------- http://www.tldp.org/LDP/intro-linux/html/index.html
|