summaryrefslogtreecommitdiff
path: root/library/opie-base.postinst
Side-by-side diff
Diffstat (limited to 'library/opie-base.postinst') (more/less context) (ignore whitespace changes)
-rwxr-xr-xlibrary/opie-base.postinst11
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