[freeside-commits] freeside/init.d freeside-init,1.13,1.13.2.1
Ivan,,,
ivan at wavetail.420.am
Wed Apr 2 08:38:34 PDT 2008
Update of /home/cvs/cvsroot/freeside/init.d
In directory wavetail.420.am:/tmp/cvs-serv17712
Modified Files:
Tag: FREESIDE_1_7_BRANCH
freeside-init
Log Message:
tiny init file nit that helps with deb packaging (and probably rpm too) - source /etc/default/freeside if it exists
Index: freeside-init
===================================================================
RCS file: /home/cvs/cvsroot/freeside/init.d/freeside-init,v
retrieving revision 1.13
retrieving revision 1.13.2.1
diff -u -d -r1.13 -r1.13.2.1
--- freeside-init 29 Dec 2006 08:31:32 -0000 1.13
+++ freeside-init 2 Apr 2008 15:38:31 -0000 1.13.2.1
@@ -1,4 +1,4 @@
-#! /bin/sh
+#!/bin/sh
#
# chkconfig: 345 86 16
# description: Freeside daemons
@@ -12,6 +12,8 @@
PATH="$PATH:/usr/local/bin"
export PATH
+[ -r /etc/default/freeside ] && . /etc/default/freeside
+
case "$1" in
start)
# Start daemons.
More information about the freeside-commits
mailing list