summaryrefslogtreecommitdiff
path: root/library/opie-base.postinst
blob: c1aeef814031e629dd8caf2b55a7f170a7f72f8e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/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