You can set the default runlevels to start the Samba script at boot with the following command:
Code:
sudo update-rc.d samba start 20 2 3 4 5 . stop 19 0 1 6 .
If for some reason Samba still does not want to start you can change the script boot order so Samba will start later:
First issue this command:
Code:
sudo update-rc.d -f samba remove
Then follow with the modified boot order runlevels:
Code:
sudo update-rc.d samba start 40 2 3 4 5 . stop 19 0 1 6 .
You can change the boot order to a higher number if needed, all the way up to 99. Type "man update-rc.d" at the prompt for more information. Also look in the directory /etc/rc2.d for a better understanding of boot script ordering.
Bookmarks