mirror of
https://gitlab.com/shorewall/code.git
synced 2025-01-07 14:08:52 +01:00
Fix crazy Debian start priority for shorewall-init
This commit is contained in:
parent
9b1b6bf87a
commit
31e95f0667
@ -285,7 +285,7 @@ fi
|
|||||||
if [ -z "$DESTDIR" ]; then
|
if [ -z "$DESTDIR" ]; then
|
||||||
if [ -n "$first_install" ]; then
|
if [ -n "$first_install" ]; then
|
||||||
if [ -n "$DEBIAN" ]; then
|
if [ -n "$DEBIAN" ]; then
|
||||||
ln -sf ../init.d/shorewall-init /etc/rcS.d/S38shorewall-init
|
ln -sf ../init.d/shorewall-init /etc/rcS.d/S08shorewall-init
|
||||||
echo "Shorewall Init will start automatically at boot"
|
echo "Shorewall Init will start automatically at boot"
|
||||||
else
|
else
|
||||||
if [ -x /sbin/insserv -o -x /usr/sbin/insserv ]; then
|
if [ -x /sbin/insserv -o -x /usr/sbin/insserv ]; then
|
||||||
@ -319,7 +319,7 @@ else
|
|||||||
mkdir -p ${DESTDIR}/etc/rcS.d
|
mkdir -p ${DESTDIR}/etc/rcS.d
|
||||||
fi
|
fi
|
||||||
|
|
||||||
ln -sf ../init.d/shorewall-init ${DESTDIR}/etc/rcS.d/S38shorewall-init
|
ln -sf ../init.d/shorewall-init ${DESTDIR}/etc/rcS.d/S08shorewall-init
|
||||||
echo "Shorewall Init will start automatically at boot"
|
echo "Shorewall Init will start automatically at boot"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user