summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--core/opiealarm/opie-opiealarm.control2
-rwxr-xr-xcore/opiealarm/opie-opiealarm.postinst8
-rwxr-xr-xcore/opiealarm/opie-opiealarm.prerm1
-rwxr-xr-xmkipks4
4 files changed, 10 insertions, 5 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 @@
-Files: bin/opiealarm bin/opieatd root/etc/init.d/opieatd root/etc/rc2.d/S96opieatd root/etc/suspend-scripts/S46opiealarm root/etc/resume-scripts/R46opiealarm
+Files: bin/opiealarm bin/opieatd root/etc/init.d/opieatd root/etc/suspend-scripts/S46opiealarm root/etc/resume-scripts/R46opiealarm
Priority: required
Provides: ipaqalarm
Conflicts: 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 @@
#/bin/sh
+ln -sf ../init.d/opieatd /etc/rc0.d/K96opieatd
+ln -sf ../init.d/opieatd /etc/rc1.d/K96opieatd
+ln -sf ../init.d/opieatd /etc/rc6.d/K96opieatd
+ln -sf ../init.d/opieatd /etc/rc2.d/S96opieatd
+ln -sf ../init.d/opieatd /etc/rc3.d/S96opieatd
+ln -sf ../init.d/opieatd /etc/rc4.d/S96opieatd
+ln -sf ../init.d/opieatd /etc/rc5.d/S96opieatd
/etc/init.d/opieatd start
+
exit 0 \ No newline at end of file
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 @@
#/bin/sh
/etc/init.d/opieatd stop
+find /etc -name [SK][0-9][0-9]opieatd | xargs rm -f
exit 0
diff --git a/mkipks b/mkipks
index 798e73f..b238935 100755
--- a/mkipks
+++ b/mkipks
@@ -10,10 +10,6 @@ ln -sf ../init.d/opie $OPIEDIR/etc/rc2.d/S98opie
mkdir -p $OPIEDIR/etc/rcS.d
ln -sf ../init.d/bootsplash $OPIEDIR/etc/rcS.d/S01bootsplash
-ln -sf ../init.d/opieatd $OPIEDIR/root/etc/rc2.d/S96opieatd
-
-
-
VERSION_MAJ=$(sed -n -e 's/.*QPE_VERSION "\([0-9]*\)\..*\..*".*/\1/p' <$OPIEDIR/include/qpe/version.h)
VERSION_MIN=$(sed -n -e 's/.*QPE_VERSION ".*\.\([0-9]*\)\..*".*/\1/p' <$OPIEDIR/include/qpe/version.h)
VERSION_PAT=$(sed -n -e 's/.*QPE_VERSION ".*\..*\.\([0-9]*\).*/\1/p' <$OPIEDIR/include/qpe/version.h)