]> Zhao Yanbai Git Server - minix.git/commitdiff
Fix. Names were not showing.
authorJorrit Herder <jnherder@minix3.org>
Thu, 4 Aug 2005 17:00:18 +0000 (17:00 +0000)
committerJorrit Herder <jnherder@minix3.org>
Thu, 4 Aug 2005 17:00:18 +0000 (17:00 +0000)
etc/usr/rc

index 31daf1da7fedadee2f4ccaf02bd390ac97fbfa68..88f1f3db2b6a8d1b2e81e9f088cc6ef6f36a5025 100644 (file)
@@ -12,12 +12,10 @@ esac
 
 disabled()
 {
-    service=$1
-
     ifs="$IFS"; IFS=,
-    for name in `sysenv disable`
+    for skip in `sysenv disable`
     do 
-        if [ "$name" = "$service" ]
+        if [ "$skip" = "$1" ]
        then     
                 IFS="$ifs"; unset ifs
                return 0