I already posted that question in "installing and configuring programs" but now i realize that it should have been posted here:
i want to execute a script that mounts the attached external usb hdd to another folder
my command which works perfectly is: mount —bind /shares/usb1-1share1 /DataVolume/ftp
now of course everytime i reboot my mybook the mount is no longer active. so i need to modify it so that it starts automatically each time mybook starts. i guess that has to be done via /etc/init.d and with a script with S at the start and a rather high number in order to load rather late.
now what exactly do i write in the file?
EDIT: i would like to do it via the fstab file as i'm used to from other linux versions, but whitelight seems to only have the mtab file which is resetted every reboot and edited on the fly when something is mounted. so i guess init.d is the only solution, but if there's a workaround or even a better solution i'm open to anything that gets my drives mounted at startup.
thx in advance