aboutsummaryrefslogtreecommitdiff
path: root/rc.single
diff options
context:
space:
mode:
authorAaron Griffin <aaronmgriffin@gmail.com>2008-05-22 13:02:55 -0400
committerAaron Griffin <aaronmgriffin@gmail.com>2008-05-22 13:02:55 -0400
commit63db98c2a8e256f9219c5c6501b40846040bf089 (patch)
treea557ce1a362acc73dc089685c423d9a0885fe635 /rc.single
parentde031161e02772aaeaefed1398f8ad59621bd8bc (diff)
downloadinitscripts-63db98c2a8e256f9219c5c6501b40846040bf089.tar.xz
Remove source_functions in favor of always sourcing the dir
This is an obvious oversight on my part - this change allows the overridden functions to work in daemon scripts and anything else that uses /etc/rc.d/functions by itself. Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
Diffstat (limited to 'rc.single')
-rwxr-xr-xrc.single2
1 files changed, 0 insertions, 2 deletions
diff --git a/rc.single b/rc.single
index 38454f6..f32e373 100755
--- a/rc.single
+++ b/rc.single
@@ -6,8 +6,6 @@
. /etc/rc.conf
. /etc/rc.d/functions
-source_functions
-
if [ "$PREVLEVEL" = "3" -o "$PREVLEVEL" = "5" ]; then
# Shutdown daemons
let i=${#DAEMONS[@]}