]> git.pld-linux.org Git - packages/apmd.git/commitdiff
- try to modprobe apm module...
authorPaweł Gołaszewski <blues@pld-linux.org>
Sat, 8 Jun 2002 16:09:23 +0000 (16:09 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    apmd.init -> 1.7

apmd.init

index 5ebe56d2ba81f4dd2edee77c8408772acf0de0ed..6f8a0753011c6edc1d0352a7ff1fb890b6b5ff9f 100644 (file)
--- a/apmd.init
+++ b/apmd.init
@@ -11,8 +11,7 @@
 . /etc/rc.d/init.d/functions
 
 if [ ! -f /proc/apm ]; then  
-  echo "No kernel APM support!"
-  exit 1
+       modprobe apm && echo "No kernel APM support!"; exit 1
 fi
 
 CONFIG=/etc/sysconfig/apmd
This page took 0.044156 seconds and 4 git commands to generate.