Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

korn shell script in rc*.d directory

Status
Not open for further replies.

InigoMontoya

IS-IT--Management
Jun 18, 2003
51
US
i have a korn shell script in rc3.d that doesn't seem to execute or fails to. Does anyone know if rc scripts have to be bourne shell scripts?
 
These scripts are run by root.
root's shell is usually /sbin/sh (Bourne)

You can run a Korn shell script during startup if you put the #!/bin/ksh line at the start of the script.

Make sure that /usr is mounted before you run a Korn shell script. /bin is a symlink to /usr/bin.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top