author | kergoth <kergoth> | 2002-12-11 19:57:00 (UTC) |
---|---|---|
committer | kergoth <kergoth> | 2002-12-11 19:57:00 (UTC) |
commit | 3faddab31483bda0dd9d093cd473ffb801207b9c (patch) (side-by-side diff) | |
tree | 5d7d16ee4114168b4468dc71e5c140a801ad13db /library/opie-base.postinst | |
parent | f55158aac4a23cbdca20145634886b2b757d4465 (diff) | |
download | opie-3faddab31483bda0dd9d093cd473ffb801207b9c.zip opie-3faddab31483bda0dd9d093cd473ffb801207b9c.tar.gz opie-3faddab31483bda0dd9d093cd473ffb801207b9c.tar.bz2 |
create opie startup script links in postinst, remove in prerm, instead of including the link in the ipk
-rwxr-xr-x | library/opie-base.postinst | 11 |
1 files changed, 11 insertions, 0 deletions
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 |