author | sandman <sandman> | 2002-05-31 03:55:42 (UTC) |
---|---|---|
committer | sandman <sandman> | 2002-05-31 03:55:42 (UTC) |
commit | bf13813d8c277a0bb9baf121e1a6ddbaa1e1dd8e (patch) (unidiff) | |
tree | 1d60d5ebc7447340a629bae6344995106921f0e8 /root | |
parent | 460454a3a117afafde6094da6a4e12625f880908 (diff) | |
download | opie-bf13813d8c277a0bb9baf121e1a6ddbaa1e1dd8e.zip opie-bf13813d8c277a0bb9baf121e1a6ddbaa1e1dd8e.tar.gz opie-bf13813d8c277a0bb9baf121e1a6ddbaa1e1dd8e.tar.bz2 |
Initial check in of opiealarm/opieatd
This is a (tiny) replacement for ipaqalarm/qpe2uschedule/uscheduled
Made w2k-ppp only claim the needed files (not the whole etc dir)
-rwxr-xr-x | root/etc/init.d/opieatd | 15 | ||||
-rw-r--r-- | root/etc/rc2.d/cvsdummy | 0 | ||||
-rwxr-xr-x | root/etc/resume-scripts/R46opiealarm | 5 | ||||
-rwxr-xr-x | root/etc/suspend-scripts/S46opiealarm | 7 | ||||
-rw-r--r-- | root/opie-windows2000-ppp-scripts.control | 2 |
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 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | PATH=/usr/bin:/bin | ||
4 | HOME=/root | ||
5 | |||
6 | case "$1" in | ||
7 | start) | ||
8 | /opt/QtPalmtop/bin/opieatd & | ||
9 | ;; | ||
10 | stop) | ||
11 | killall opieatd | ||
12 | ;; | ||
13 | esac | ||
14 | |||
15 | 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 @@ | |||
1 | #!/bin/sh | ||
2 | # Starts opiealarm, which only runs while the iPaq sleeps | ||
3 | # and wakes it up when the RTC alarm goes off. | ||
4 | |||
5 | 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 @@ | |||
1 | #!/bin/sh | ||
2 | # Starts opiealarm, which only runs while the iPaq sleeps | ||
3 | # and wakes it up when the RTC alarm goes off. | ||
4 | |||
5 | export HOME=/root | ||
6 | start-stop-daemon --make-pidfile --start --quiet --pidfile /var/run/opiealarm.pid --exec /opt/QtPalmtop/bin/opiealarm & | ||
7 | |||
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,4 +1,4 @@ | |||
1 | Files: ipaq/etc | 1 | Files: ipaq/etc/hosts ipaq/etc/inittab ipaq/etc/ppp |
2 | Priority: optional | 2 | Priority: optional |
3 | Section: opie/system | 3 | Section: opie/system |
4 | Maintainer: Trenton Schulz <twschulz@trolltech.com> | 4 | Maintainer: Trenton Schulz <twschulz@trolltech.com> |