arla daemon

Love lha at stacken.kth.se
Fri Apr 28 17:04:14 CEST 2000


"Brandon S. Allbery KF8NH" <allbery at ece.cmu.edu> writes:

> | Is there a way to determin that this in fact is SuSE linux ? Like on
> | redhat linux there is a /etc/redhat-release.
> +--->8
> 
> /etc/SuSE-release
> The first line is a banner; the second line contains a convenient variable 
> assignment for the system release.

Ok, so is the follow patch any good ?

Love

Index: arla.init.in
===================================================================
RCS file: /afs/stacken.kth.se/src/SourceRepository/arla/xfs/linux/bin/arla.init.in,v
retrieving revision 1.7
diff -u -w -u -w -r1.7 arla.init.in
--- xfs/linux/bin/arla.init.in	2000/02/15 22:18:04	1.7
+++ xfs/linux/bin/arla.init.in	2000/04/28 14:53:50
@@ -51,6 +51,13 @@
     exit 1
 fi
 
+if [ -f /etc/SuSE-release -a -f /etc/rc.config ]; then
+    . /etc/rc.config
+    if [ X"$START_ARLA" != "XYES" ]; then
+	exit 0
+    fi
+fi
+    
 case "$1" in
 
     start)





More information about the Arla-drinkers mailing list