summaryrefslogtreecommitdiff
path: root/root
Side-by-side diff
Diffstat (limited to 'root') (more/less context) (show whitespace changes)
-rwxr-xr-xroot/etc/init.d/opieatd15
-rw-r--r--root/etc/rc2.d/cvsdummy0
-rwxr-xr-xroot/etc/resume-scripts/R46opiealarm5
-rwxr-xr-xroot/etc/suspend-scripts/S46opiealarm7
-rw-r--r--root/opie-windows2000-ppp-scripts.control2
5 files changed, 28 insertions, 1 deletions
diff --git a/root/etc/init.d/opieatd b/root/etc/init.d/opieatd
new file mode 100755
index 0000000..83f6035
--- a/dev/null
+++ b/root/etc/init.d/opieatd
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+PATH=/usr/bin:/bin
+HOME=/root
+
+case "$1" in
+ start)
+ /opt/QtPalmtop/bin/opieatd &
+ ;;
+ stop)
+ killall opieatd
+ ;;
+esac
+
+exit 0
diff --git a/root/etc/rc2.d/cvsdummy b/root/etc/rc2.d/cvsdummy
new file mode 100644
index 0000000..e69de29
--- a/dev/null
+++ b/root/etc/rc2.d/cvsdummy
diff --git a/root/etc/resume-scripts/R46opiealarm b/root/etc/resume-scripts/R46opiealarm
new file mode 100755
index 0000000..e56c5bf
--- a/dev/null
+++ b/root/etc/resume-scripts/R46opiealarm
@@ -0,0 +1,5 @@
+#!/bin/sh
+# 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
diff --git a/root/etc/suspend-scripts/S46opiealarm b/root/etc/suspend-scripts/S46opiealarm
new file mode 100755
index 0000000..504f9c4
--- a/dev/null
+++ b/root/etc/suspend-scripts/S46opiealarm
@@ -0,0 +1,7 @@
+#!/bin/sh
+# 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 &
+
diff --git a/root/opie-windows2000-ppp-scripts.control b/root/opie-windows2000-ppp-scripts.control
index 1a4f856..48249ed 100644
--- a/root/opie-windows2000-ppp-scripts.control
+++ b/root/opie-windows2000-ppp-scripts.control
@@ -1,7 +1,7 @@
-Files: ipaq/etc
+Files: ipaq/etc/hosts ipaq/etc/inittab ipaq/etc/ppp
Priority: optional
Section: opie/system
Maintainer: Trenton Schulz <twschulz@trolltech.com>
Architecture: arm
Version: 1.0
Description: PPP configuration file needed for Windows 2000 and syncing