aboutsummaryrefslogtreecommitdiffstats
path: root/sysvinitfiles
diff options
context:
space:
mode:
authorBernhard Rosenkraenzer <bero@redhat.com>2000-07-24 14:19:47 +0000
committerBernhard Rosenkraenzer <bero@redhat.com>2000-07-24 14:19:47 +0000
commit47b097ca9827acb57ea5b601c29840912eae9873 (patch)
tree912f99254f1b4ce75a536436704e37884e389946 /sysvinitfiles
parent593106713b216730001a1e132f1eebb446cea623 (diff)
downloadinitscripts-47b097ca9827acb57ea5b601c29840912eae9873.tar
initscripts-47b097ca9827acb57ea5b601c29840912eae9873.tar.gz
initscripts-47b097ca9827acb57ea5b601c29840912eae9873.tar.bz2
initscripts-47b097ca9827acb57ea5b601c29840912eae9873.tar.xz
initscripts-47b097ca9827acb57ea5b601c29840912eae9873.zip
/etc/init.d -> /etc/rc.d/init.dr5-36
Diffstat (limited to 'sysvinitfiles')
-rw-r--r--sysvinitfiles10
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.