aboutsummaryrefslogtreecommitdiffstats
path: root/sysvinitfiles
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2000-06-15 18:56:54 +0000
committerBill Nottingham <notting@redhat.com>2000-06-15 18:56:54 +0000
commit60a0dcc9b21edc6777a4392daba44eaa06b1fc9f (patch)
treeafd1f617869f8eee36356c51653975da8db7f82a /sysvinitfiles
parent855e91894a00e7f237427af5e0d2d96d0833d777 (diff)
downloadinitscripts-60a0dcc9b21edc6777a4392daba44eaa06b1fc9f.tar
initscripts-60a0dcc9b21edc6777a4392daba44eaa06b1fc9f.tar.gz
initscripts-60a0dcc9b21edc6777a4392daba44eaa06b1fc9f.tar.bz2
initscripts-60a0dcc9b21edc6777a4392daba44eaa06b1fc9f.tar.xz
initscripts-60a0dcc9b21edc6777a4392daba44eaa06b1fc9f.zip
/etc/rc.d/init.d -> /etc/init.d. Wheeeeee.
Diffstat (limited to 'sysvinitfiles')
-rw-r--r--sysvinitfiles10
1 files changed, 5 insertions, 5 deletions
diff --git a/sysvinitfiles b/sysvinitfiles
index 9e9ddeb7..3a39ed43 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/rc.d/init.d/<servicename>
+All System V init scripts are named /etc/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/rc.d/init.d/<servicename>
+# /etc/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/rc.d/init.d/functions
+. /etc/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/rc.d/init.d/functions
+Functions in /etc/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/rc.d/init.d/SCRIPT $command
+ [ -n "$command" ] && /etc/init.d/SCRIPT $command
where SCRIPT is the name of the service's sysv init script.