-rwxr-xr-x | library/opie-base.postinst | 3 |
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,11 +1,12 @@ -#/bin/sh +#!/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 +[ -x ldconfig ] && ldconfig exit 0 |