aboutsummaryrefslogtreecommitdiffstats
path: root/sysvinitfiles
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2000-07-24 19:41:41 +0000
committerBill Nottingham <notting@redhat.com>2000-07-24 19:41:41 +0000
commit32b375baeff00c7f8205b6c95b8a6525373bdd97 (patch)
tree1da3c0e6e8acfbebe2a0936f802c2096caff3502 /sysvinitfiles
parent47b097ca9827acb57ea5b601c29840912eae9873 (diff)
downloadinitscripts-32b375baeff00c7f8205b6c95b8a6525373bdd97.tar
initscripts-32b375baeff00c7f8205b6c95b8a6525373bdd97.tar.gz
initscripts-32b375baeff00c7f8205b6c95b8a6525373bdd97.tar.bz2
initscripts-32b375baeff00c7f8205b6c95b8a6525373bdd97.tar.xz
initscripts-32b375baeff00c7f8205b6c95b8a6525373bdd97.zip
revert
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.