diff options
author | ivan <ivan> | 2008-04-02 15:38:30 +0000 |
---|---|---|
committer | ivan <ivan> | 2008-04-02 15:38:30 +0000 |
commit | 72306cb82dd7f1d98f80886e084df8af080d8bca (patch) | |
tree | 2fc0d11a2d69a8a356258aa62efac6e703f159fd /init.d | |
parent | 3e463d4d9f8bae75c37e9ba6c94a3ed6abbb1860 (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-init | 4 |
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. |