--- a/stbylong.sh Thu May 20 12:44:10 2010 +0100
+++ b/stbylong.sh Thu May 20 13:40:43 2010 +0100
@@ -9,8 +9,8 @@
#
echo "stbylong: Going asleep at `date`" >> /var/log/logrtc.log
#
-#sleep for 3hours (60*60*3 = 10800)
-#sleep for 4min (60*4 = 240)
+# sleep for 3hours (60*60*3 = 10800)
+# sleep for 4min (60*4 = 240)
/usr/sbin/vbetool vbestate save > /tmp/videostate
/usr/sbin/rtcwake -s 10800 -m mem
/usr/sbin/vbetool vbestate restore < /tmp/videostate
--- a/stbyshort.sh Thu May 20 12:44:10 2010 +0100
+++ b/stbyshort.sh Thu May 20 13:40:43 2010 +0100
@@ -9,8 +9,8 @@
#
echo "stbyshort: Going asleep at `date`" >> /var/log/logrtc.log
#
-#sleep for 30min (60*30 = 1800)
-#sleep for 2min (60*2 = 120
+# sleep for 30min (60*30 = 1800)
+# sleep for 2min (60*2 = 120
/usr/sbin/vbetool vbestate save > /tmp/videostate
/usr/sbin/rtcwake -s 1800 -m mem
/usr/sbin/vbetool vbestate restore < /tmp/videostate
--- a/stopproc.sh Thu May 20 12:44:10 2010 +0100
+++ b/stopproc.sh Thu May 20 13:40:43 2010 +0100
@@ -2,19 +2,17 @@
#
# stopproc.sh
#
-PATH=/etc/init.d/
-#
echo "stopproc: taking down processes at `date`" >> /var/log/logrtc.log
#
-$PATH/monit stop
-$PATH/dtnN4Cmiddle stop
-$PATH/dtnN4Crecv stop
-$PATH/dtn stop
-$PATH/apache2 stop
-$PATH/cron stop
-$PATH/dhcp3-server stop
-$PATH/mysql stop
-$PATH/pbm stop
+/etc/init.d/monit stop
+/etc/init.d/dtnN4Cmiddle stop
+/etc/init.d/dtnN4Crecv stop
+/etc/init.d/dtn stop
+/etc/init.d/apache2 stop
+/etc/init.d/cron stop
+/etc/init.d/dhcp3-server stop
+/etc/init.d/mysql stop
+/etc/init.d/pbm stop
echo "stopproc: unmounting /data" >> /var/log/logrtc.log
/bin/umount /data