From 508c023b2be72f82da5c2d41bc077238a279a206 Mon Sep 17 00:00:00 2001 From: sandman Date: Sat, 01 Jun 2002 19:03:44 +0000 Subject: Modified to work with enhanced opiealarm daemon --- (limited to 'root/etc') diff --git a/root/etc/resume-scripts/R46opiealarm b/root/etc/resume-scripts/R46opiealarm index e56c5bf..e3ac236 100755 --- a/root/etc/resume-scripts/R46opiealarm +++ b/root/etc/resume-scripts/R46opiealarm @@ -2,4 +2,5 @@ # Starts opiealarm, which only runs while the iPaq sleeps # and wakes it up when the RTC alarm goes off. -start-stop-daemon --stop --quiet --oknodo --pidfile /var/run/opiealarm.pid --exec /opt/QtPalmtop/bin/opiealarm +PID=`cat /var/run/opiealarm.pid` +[ -n "$PID" ] && kill $PID diff --git a/root/etc/suspend-scripts/S46opiealarm b/root/etc/suspend-scripts/S46opiealarm index 504f9c4..5e01ea5 100755 --- a/root/etc/suspend-scripts/S46opiealarm +++ b/root/etc/suspend-scripts/S46opiealarm @@ -2,6 +2,4 @@ # Starts opiealarm, which only runs while the iPaq sleeps # and wakes it up when the RTC alarm goes off. -export HOME=/root -start-stop-daemon --make-pidfile --start --quiet --pidfile /var/run/opiealarm.pid --exec /opt/QtPalmtop/bin/opiealarm & - +/opt/QtPalmtop/bin/opiealarm -- cgit v0.9.0.2