AIX Boot Scripts

Hi, can someone point me to the bootup file where I can add a samba start up script so I dont have to manually start samba everytime we reboot the server? Thanks.

Look at /etc/rc.d/init.d and /etc/rc?.d. Put your startup script in the init.d directory and link to it from the run level you want it to start at. Google AIX init.d for more info if you need it, tons of tutorials out there.

can I put the startsmb script in /etc/inittab?

yes :wink:

How? lol

All the lines in that file look like parameters:
tty2:2:respawn:/usr/sbin/getty /dev/tty2

I just want to add /usr/local/bin/startsmb

mkitab smb:2:once:/usr/sbin/smbd
mkitab nmb:2:once:/usr/sbin/nmbd
1 Like

Thank you!

Another question on this topic, can I add an NFS mount to a windows box here as well?

I suggest you read up upon the "SystemV boot process" and do a "man inittab" before asking question which could be answered easily this way.

bakunin