]> git.pld-linux.org Git - packages/irqbalance.git/commitdiff
- fixed auto/ac/irqbalance-0_08-3
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Tue, 27 Jan 2004 20:38:40 +0000 (20:38 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    irqbalance.init -> 1.2

irqbalance.init

index e583e8d0e56915d72255ab524f5d7afacf0071e6..1a3de506297b19ec91d8434d742e29304a9d5e95 100644 (file)
@@ -18,7 +18,7 @@ if [ -f /etc/sysconfig/irqbalance ]; then
 fi
 
 # useless on UP
-if [ "(LC_ALL=C grep "^processor.*:.*[0-9]" /proc/cpuinfo | wc -l)" -lt 2 ]; then
+if [ "$(LC_ALL=C grep "^processor.*:.*[0-9]" /proc/cpuinfo | wc -l)" -lt 2 ]; then
     exit 0
 fi
 
@@ -40,10 +40,11 @@ case "$1" in
   stop)
        if ! is_yes "$IRQBALANCE_ONE_SHOT"; then
                if [ -f /var/lock/subsys/irqbalance ]; then
-                       killproc irqbalance
-                       rm -f /var/lock/subsys/irqbalance
+                   msg_stopping irqbalance
+                   killproc irqbalance
+                   rm -f /var/lock/subsys/irqbalance
                else
-                       msg_not_running irqbalance
+                   msg_not_running irqbalance
                fi
        fi
        ;;
This page took 0.083843 seconds and 4 git commands to generate.