summaryrefslogtreecommitdiff
path: root/library
Side-by-side diff
Diffstat (limited to 'library') (more/less context) (ignore whitespace changes)
-rwxr-xr-xlibrary/opie-base.postinst3
1 files changed, 2 insertions, 1 deletions
diff --git a/library/opie-base.postinst b/library/opie-base.postinst
index 1d50a99..c1aeef8 100755
--- a/library/opie-base.postinst
+++ b/library/opie-base.postinst
@@ -1,4 +1,4 @@
-#/bin/sh
+#!/bin/sh
ln -sf ../init.d/opie /etc/rc0.d/K98opie
ln -sf ../init.d/opie /etc/rc1.d/K98opie
@@ -8,4 +8,5 @@ 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
+[ -x ldconfig ] && ldconfig
exit 0