summaryrefslogtreecommitdiff
path: root/core
Unidiff
Diffstat (limited to 'core') (more/less context) (ignore whitespace changes)
-rw-r--r--core/opiealarm/opie-opiealarm.control2
-rwxr-xr-xcore/opiealarm/opie-opiealarm.postinst10
-rwxr-xr-xcore/opiealarm/opie-opiealarm.prerm1
3 files changed, 11 insertions, 2 deletions
diff --git a/core/opiealarm/opie-opiealarm.control b/core/opiealarm/opie-opiealarm.control
index 5413ba8..9581649 100644
--- a/core/opiealarm/opie-opiealarm.control
+++ b/core/opiealarm/opie-opiealarm.control
@@ -1,4 +1,4 @@
1Files: bin/opiealarm bin/opieatd root/etc/init.d/opieatd root/etc/rc2.d/S96opieatd root/etc/suspend-scripts/S46opiealarm root/etc/resume-scripts/R46opiealarm 1Files: bin/opiealarm bin/opieatd root/etc/init.d/opieatd root/etc/suspend-scripts/S46opiealarm root/etc/resume-scripts/R46opiealarm
2Priority: required 2Priority: required
3Provides: ipaqalarm 3Provides: ipaqalarm
4Conflicts: ipaqalarm 4Conflicts: ipaqalarm
diff --git a/core/opiealarm/opie-opiealarm.postinst b/core/opiealarm/opie-opiealarm.postinst
index 7fc8350..58298e1 100755
--- a/core/opiealarm/opie-opiealarm.postinst
+++ b/core/opiealarm/opie-opiealarm.postinst
@@ -1,4 +1,12 @@
1#/bin/sh 1#/bin/sh
2 2
3ln -sf ../init.d/opieatd /etc/rc0.d/K96opieatd
4ln -sf ../init.d/opieatd /etc/rc1.d/K96opieatd
5ln -sf ../init.d/opieatd /etc/rc6.d/K96opieatd
6ln -sf ../init.d/opieatd /etc/rc2.d/S96opieatd
7ln -sf ../init.d/opieatd /etc/rc3.d/S96opieatd
8ln -sf ../init.d/opieatd /etc/rc4.d/S96opieatd
9ln -sf ../init.d/opieatd /etc/rc5.d/S96opieatd
3/etc/init.d/opieatd start 10/etc/init.d/opieatd start
4exit 0 \ No newline at end of file 11
12exit 0
diff --git a/core/opiealarm/opie-opiealarm.prerm b/core/opiealarm/opie-opiealarm.prerm
index b37df5e..5e797b6 100755
--- a/core/opiealarm/opie-opiealarm.prerm
+++ b/core/opiealarm/opie-opiealarm.prerm
@@ -1,4 +1,5 @@
1#/bin/sh 1#/bin/sh
2 2
3/etc/init.d/opieatd stop 3/etc/init.d/opieatd stop
4find /etc -name [SK][0-9][0-9]opieatd | xargs rm -f
4exit 0 5exit 0