For #2
You have to add some lines in your rc.M
Example:
I have a little script in rc.d directory called `rc.smbmounts'
nothing special it just mounts my samba shares.
In orther to make it automatically execute, besides making it
executable I added this lines to rc.M:
Code:
# Mounts smb shares on startup:
if [ -x /etc/rc.d/rc.smbmounts ]; then
echo "Mounting smb shares: /etc/rc.d/rc.smbmounts"
. /etc/rc.d/rc.smbmounts
fi
right at the end of the script. And done. my shares mounts
automatically. Of course there is always a better way. Its
a matter of taste.
Good luck
-W