-rw-r--r-- | library/opie-base.control | 2 | ||||
-rwxr-xr-x | library/opie-base.postinst | 11 | ||||
-rwxr-xr-x | library/opie-base.prerm | 5 |
3 files changed, 17 insertions, 1 deletions
diff --git a/library/opie-base.control b/library/opie-base.control index 2441809..41b0e2e 100644 --- a/library/opie-base.control +++ b/library/opie-base.control @@ -1,4 +1,4 @@ -Files: etc/colors root/etc/init.d/opie root/etc/rc2.d/S98opie bin/opie-reorgfiles $QTDIR/lib/libqpe.so.1 $QTDIR/lib/libqpe.so.1.5 $QTDIR/lib/libqpe.so.1.5.0 apps/*/.directory etc/mime.types apps/Settings/quit.desktop pics/logo/* +Files: etc/colors root/etc/init.d/opie bin/opie-reorgfiles $QTDIR/lib/libqpe.so.1 $QTDIR/lib/libqpe.so.1.5 $QTDIR/lib/libqpe.so.1.5.0 apps/*/.directory etc/mime.types apps/Settings/quit.desktop pics/logo/* Priority: required Section: opie/system Maintainer: Project Opie <opie@handhelds.org> diff --git a/library/opie-base.postinst b/library/opie-base.postinst new file mode 100755 index 0000000..1d50a99 --- a/dev/null +++ b/library/opie-base.postinst @@ -0,0 +1,11 @@ +#/bin/sh + +ln -sf ../init.d/opie /etc/rc0.d/K98opie +ln -sf ../init.d/opie /etc/rc1.d/K98opie +ln -sf ../init.d/opie /etc/rc6.d/K98opie +ln -sf ../init.d/opie /etc/rc2.d/S98opie +ln -sf ../init.d/opie /etc/rc3.d/S98opie +ln -sf ../init.d/opie /etc/rc4.d/S98opie +ln -sf ../init.d/opie /etc/rc5.d/S98opie + +exit 0 diff --git a/library/opie-base.prerm b/library/opie-base.prerm new file mode 100755 index 0000000..664160b --- a/dev/null +++ b/library/opie-base.prerm @@ -0,0 +1,5 @@ +#/bin/sh + +find /etc -name [SK][0-9][0-9]opie | xargs rm -f + +exit 0 |