]> git.pld-linux.org Git - packages/lm_sensors.git/commitdiff
- empty BUS is valid
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 9 Mar 2008 12:07:07 +0000 (12:07 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    sensors_modules.init -> 1.4

sensors_modules.init

index b91eb0aa3370add7c61a2fa1a560b58f553fce80..07c12e0b72b872acaea5f4e4a500d12d1ffda4ea 100644 (file)
@@ -18,7 +18,7 @@ fi
 start() {
        # Check if the service is already running?
        if [ ! -f /var/lock/subsys/sensors_modules ]; then
-               if [ -z "$BUS" ] || [ -z "$CHIP" ]; then
+               if [ -z "$BUS" ] && [ -z "$CHIP" ]; then
                        msg_starting "sensors modules"; fail
                        nls "BUS or CHIP not configured in /etc/sysconfig/sensors_modules" >&2
                        exit 6
This page took 0.024122 seconds and 4 git commands to generate.