thedude
Benutzer
- Registriert
- 30. Nov. 2009
- Beiträge
- 2.244
- Reaktionspunkte
- 2
- Punkte
- 84
Freut mich das es funktioniert. Ich habe das script noch etwas poliert. Momentan sieht es so aus (die foo und bar mounts sind natürlich nur zu demo Zwecken
):
gruss
dude
):
Rich (BBCode):
#!/bin/sh
# mount/bind some folders on startup
# and umount them on shutdown/reboot
case $1 in
start)
/bin/mount -o bind /volume1/foo/ /volume1/video/foo/
/bin/mount -o bind /volume2/bar/ /volume1/video/bar/
;;
stop)
/bin/umount /volume1/video/foo/
/bin/umount /volume1/video/bar/
/bin/umount /opt
;;
*)
echo "Usages: $0 [start|stop]"
;;
esac
gruss
dude