diff options
author | ivan <ivan> | 2008-04-02 15:38:31 +0000 |
---|---|---|
committer | ivan <ivan> | 2008-04-02 15:38:31 +0000 |
commit | 499269bfd9a7989c94a3f0c35d6002b48a8c92f7 (patch) | |
tree | 37b855b73402d01c3d996285e8ad703d3b9232fb /init.d | |
parent | 3b146956be8f9fbf4d9365d28085e5b3a49b41ed (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. |