summaryrefslogtreecommitdiff
path: root/init.d
diff options
context:
space:
mode:
authorivan <ivan>2008-04-02 15:38:31 +0000
committerivan <ivan>2008-04-02 15:38:31 +0000
commit499269bfd9a7989c94a3f0c35d6002b48a8c92f7 (patch)
tree37b855b73402d01c3d996285e8ad703d3b9232fb /init.d
parent3b146956be8f9fbf4d9365d28085e5b3a49b41ed (diff)
tiny init file nit that helps with deb packaging (and probably rpm too) - source /etc/default/freeside if it exists
Diffstat (limited to 'init.d')
-rw-r--r--init.d/freeside-init4
1 files changed, 3 insertions, 1 deletions
diff --git a/init.d/freeside-init b/init.d/freeside-init
index a62b187ab..edca3c964 100644
--- a/init.d/freeside-init
+++ b/init.d/freeside-init
@@ -1,4 +1,4 @@
-#! /bin/sh
+#!/bin/sh
#
# chkconfig: 345 86 16
# description: Freeside daemons
@@ -12,6 +12,8 @@ SELFSERVICE_MACHINES="%%%SELFSERVICE_MACHINES%%%"
PATH="$PATH:/usr/local/bin"
export PATH
+[ -r /etc/default/freeside ] && . /etc/default/freeside
+
case "$1" in
start)
# Start daemons.