Strange Question
I have slack 8.1, and create some init scripts, for mysql, proftpd, httpd, all init scripts works good but when i put on /etc/rc.d/
and reboot the pc. The rc.httpd up but rc.mysql and rc.proftpd don't up. Is this a bug or a mistake sorry my english =/ |
look in the /etc/rc.d/rc.inet2
there should by something like: # Start the httpd daemon: if [ -x /etc/rc.d/rc.httpd ]; then echo "Starting httpd daemon" /etc/rc.d/rc.httpd start fi # Done starting the httpd daemon: and something alike for proftpd (in the case that you are not using any 'superserver' like inetd, xinetd for running these servers). also check if root can launch your scripts ... |
Which file are you using to call the scripts? Just placing the scrips in a directory doesn't mean the system will run them.
Try adding commands to run the scripts in the file /etc/rc.4/rc.local Good Luck........ |
i already found how it works but thanks =P
rc.M have all the inits, httpd, and others. /etc/rc.d/rc.M |
All times are GMT -5. The time now is 09:20 AM. |