Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware.git;a=commitdiff;h=a646d917b736986ce2756dc7616c209b0028e0e4

commit a646d917b736986ce2756dc7616c209b0028e0e4
Author: Miklos Vajna <[EMAIL PROTECTED]>
Date:   Wed Oct 1 01:07:34 2008 +0200

service: workaround for upstream chkconfig misbehaviour

closes #3373

diff --git a/var/service b/var/service
index c15a213..1072b04 100644
--- a/var/service
+++ b/var/service
@@ -81,9 +81,8 @@ else
## exists and is added  list it
chkconfig --list $service
else
-                       ## error , files exists but isn't added
-                       echo $"Use $0 $1 add first."
-                       exit 1
+                       # we mimic the wished output of chkconfig
+                       echo -e 
$service'\t\t0:off\t1:off\t2:off\t3:off\t4:off\t5:off\t6:off'
fi
else
$name $2
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to