[maemo-commits] [maemo-commits] r16381 - in projects/haf/trunk/osso-af-startup: debian top-scripts

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Fri Oct 10 11:10:32 EEST 2008
Author: schulhof
Date: 2008-10-10 11:10:31 +0300 (Fri, 10 Oct 2008)
New Revision: 16381

Modified:
   projects/haf/trunk/osso-af-startup/debian/postinst
   projects/haf/trunk/osso-af-startup/top-scripts/hwclock
Log:
There are no long options in hwclock

Modified: projects/haf/trunk/osso-af-startup/debian/postinst
===================================================================
--- projects/haf/trunk/osso-af-startup/debian/postinst	2008-10-09 10:46:22 UTC (rev 16380)
+++ projects/haf/trunk/osso-af-startup/debian/postinst	2008-10-10 08:10:31 UTC (rev 16381)
@@ -35,6 +35,7 @@
 update-rc.d af-services start 22 2 3 4 5 . stop 22 0 1 6 . > /dev/null
 update-rc.d af-startup start 50 2 3 4 . stop 21 0 1 6 . > /dev/null
 update-rc.d af-base-apps start 60 2 3 4 . stop 20 0 1 5 6 . > /dev/null
+update-rc.d hwclock start 01 S 1 2 3 4 5 . stop 02 0 6 . > /dev/null
 
 # create memory card mount points ("if" is for Scratchbox)
 if [ -w / ]; then

Modified: projects/haf/trunk/osso-af-startup/top-scripts/hwclock
===================================================================
--- projects/haf/trunk/osso-af-startup/top-scripts/hwclock	2008-10-09 10:46:22 UTC (rev 16380)
+++ projects/haf/trunk/osso-af-startup/top-scripts/hwclock	2008-10-10 08:10:31 UTC (rev 16381)
@@ -18,7 +18,7 @@
   start)
     if test -x "/sbin/hwclock"; then
       echo -n 'Synching hardware clock to system time ... '
-      /sbin/hwclock --hctosys
+      /sbin/hwclock -s
       if test "x$?" = "x0"; then
         echo "OK"
       else
@@ -29,7 +29,7 @@
   stop)
     if test -x "/sbin/hwclock"; then
       echo -n 'Synching system time to hardware clock ... '
-      /sbin/hwclock --systohc
+      /sbin/hwclock -w
       if test "x$?" = "x0"; then
         echo "OK"
       else


More information about the maemo-commits mailing list