Update of /cvsroot/routingtools/tools/rc.d
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16878
Modified Files:
firewall shaper
Log Message:
* include new SuSE init script semantics
Index: firewall
===================================================================
RCS file: /cvsroot/routingtools/tools/rc.d/firewall,v
retrieving revision 1.29
retrieving revision 1.30
diff -C2 -d -r1.29 -r1.30
*** firewall 8 Jun 2004 13:11:54 -0000 1.29
--- firewall 18 Jun 2004 17:49:10 -0000 1.30
***************
*** 25,28 ****
--- 25,33 ----
fi
+ if [ -r /etc/rc.status ]; then
+ . /etc/rc.status
+ rc_reset
+ fi
+
if [ -r /etc/rc.d/init.d/functions ]; then
. /etc/rc.d/init.d/functions
***************
*** 347,350 ****
--- 352,358 ----
#
# $Log$
+ # Revision 1.30 2004/06/18 17:49:10 hurikhan
+ # * include new SuSE init script semantics
+ #
# Revision 1.29 2004/06/08 13:11:54 hurikhan
# - improve RedHat detection (fresh installs of newer SuSE version was incorrectly detected)
Index: shaper
===================================================================
RCS file: /cvsroot/routingtools/tools/rc.d/shaper,v
retrieving revision 1.26
retrieving revision 1.27
diff -C2 -d -r1.26 -r1.27
*** shaper 8 Jun 2004 13:11:54 -0000 1.26
--- shaper 18 Jun 2004 17:49:10 -0000 1.27
***************
*** 24,27 ****
--- 24,32 ----
fi
+ if [ -r /etc/rc.status ]; then
+ . /etc/rc.status
+ rc_reset
+ fi
+
if [ -r /etc/rc.d/init.d/functions ]; then
. /etc/rc.d/init.d/functions
***************
*** 272,275 ****
--- 277,283 ----
#
# $Log$
+ # Revision 1.27 2004/06/18 17:49:10 hurikhan
+ # * include new SuSE init script semantics
+ #
# Revision 1.26 2004/06/08 13:11:54 hurikhan
# - improve RedHat detection (fresh installs of newer SuSE version was incorrectly detected)
|