diff options
Diffstat (limited to 'sysvinitfiles')
-rw-r--r-- | sysvinitfiles | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sysvinitfiles b/sysvinitfiles index 3a39ed43..9e9ddeb7 100644 --- a/sysvinitfiles +++ b/sysvinitfiles @@ -1,7 +1,7 @@ Writing System V init scripts for Red Hat Linux =============================================== -All System V init scripts are named /etc/init.d/<servicename> +All System V init scripts are named /etc/rc.d/init.d/<servicename> where <servicename> is the name of the service. There must be no ".init" suffix. @@ -11,7 +11,7 @@ Sample Script #!/bin/bash # -# /etc/init.d/<servicename> +# /etc/rc.d/init.d/<servicename> # # <description of the *service*> # <any general comments about this init script> @@ -23,7 +23,7 @@ Sample Script # mistaken for tags, should they happen to fit the pattern.> # Source function library. -. /etc/init.d/functions +. /etc/rc.d/init.d/functions <define any local shell functions used by the code that follows> @@ -72,7 +72,7 @@ which you intend to be used interactively to the usage message. -Functions in /etc/init.d/functions +Functions in /etc/rc.d/init.d/functions ======================================= daemon [+/-nicelevel] program [arguments] [&] @@ -165,7 +165,7 @@ Tags acheived by running these commands: command=$(/etc/rd.d/init.d/SCRIPT probe) - [ -n "$command" ] && /etc/init.d/SCRIPT $command + [ -n "$command" ] && /etc/rc.d/init.d/SCRIPT $command where SCRIPT is the name of the service's sysv init script. |