summaryrefslogtreecommitdiff
path: root/init.d
diff options
context:
space:
mode:
authorivan <ivan>2008-04-02 15:38:30 +0000
committerivan <ivan>2008-04-02 15:38:30 +0000
commit72306cb82dd7f1d98f80886e084df8af080d8bca (patch)
tree2fc0d11a2d69a8a356258aa62efac6e703f159fd /init.d
parent3e463d4d9f8bae75c37e9ba6c94a3ed6abbb1860 (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 a62b187..edca3c9 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.