running scripts at start up in Debian...
hello people...
i wanted to know how to run (shell)scripts at start up.... for example I'm using Debian... suppose that I've written a shell script moun.sh to mount my windows drives onto local linux file system... every time i boot Debian i need to run this script manually.. Is there any mechanism to make it executable at startup...??? It would be very helpfull to configure my system to my needs.. so anybody who knows please help.... |
rc.local file
Hi
One simple way is to put the script in /etc/rc.d/rc.local file. Have a good day |
Quote:
ok... thank you.. actually in my system there was no /etc/rc.d folder.. rc.local was found in /etc/init.d ... and it worked.... thanks a lot anyways... :) |
/etc/rc.local, /etc/profile, ~/.bash_profile, ~/.profile, ~/.bashrc, etc (depending on your setup/distro).
Soooo many choices! Each with their own quirks! |
All times are GMT -5. The time now is 08:24 AM. |