[Fai-commit] r6745 - trunk/examples/simple/scripts/LAST

Thomas Lange lange at alioth.debian.org
Sat Oct 22 23:03:51 UTC 2011


Author: lange
Date: 2011-10-22 23:03:51 +0000 (Sat, 22 Oct 2011)
New Revision: 6745

Modified:
   trunk/examples/simple/scripts/LAST/50-misc
Log:
hwclock should not be called with ROOTCMD

in CENTOS, there's no /dev/rtc in /target during installation


Modified: trunk/examples/simple/scripts/LAST/50-misc
===================================================================
--- trunk/examples/simple/scripts/LAST/50-misc	2011-10-22 23:00:01 UTC (rev 6744)
+++ trunk/examples/simple/scripts/LAST/50-misc	2011-10-22 23:03:51 UTC (rev 6745)
@@ -21,7 +21,7 @@
        no|"") hwopt="--localtime" ;;
        yes)   hwopt="--utc"       ;;
     esac
-    $ROOTCMD hwclock $hwopt --systohc || true
+    hwclock $hwopt --systohc || true
 fi
 
 # Make sure everything is configured properly




More information about the Fai-commit mailing list