Quote:
Originally posted by paulr1984
Also, where's the 'autoexec' of mandrake/linux? I have to load a couple of modules at startup. It can only be done in root mode. thanks!
|
Add whatever commands you need to at the bottom of your /etc/rc.d/rc.local file for starting whatever you need. When you boot you will see that they are the last things to be run. My rc.local file (on Slackware) looks like this:
#!/bin/sh
#
# /etc/rc.d/rc.local: Local system initialization script.
#
# Put any local setup commands in here:
#VPN client
/etc/rc.d/init.d/vpnclient_init start
#Samba
/usr/local/samba/sbin/smbd -D
/usr/local/samba/sbin/nmbd -D
#MySQL
/usr/local/mysql/bin/mysqld_safe --user=mysql &
#Apache
/usr/local/apache/bin/apachectl start
#FTP
/etc/rc.d/init.d/proftpd start