forked from extern/shorewall_code
Correct problems with SuSE init.
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
9d3d66d4a2
commit
bcf419fbce
@ -54,7 +54,7 @@ elif [ -f /etc/SuSE-release ]; then
|
||||
#
|
||||
# SuSE ifupdown system
|
||||
#
|
||||
$IFACE = "$2"
|
||||
IFACE="$2"
|
||||
|
||||
case $0 in
|
||||
*if-up.d*)
|
||||
|
@ -221,7 +221,7 @@ if [ -z "$DEBIAN" ]; then
|
||||
fi
|
||||
|
||||
if [ -d ${PREFIX}/etc/sysconfig -a ! -f ${PREFIX}/etcsysconfig/shorewall-init ]; then
|
||||
run_install $OWNERSHIP -m 0644 sysconfig /etc/default/shorewall-init
|
||||
run_install $OWNERSHIP -m 0644 sysconfig /etc/sysconfig/shorewall-init
|
||||
fi
|
||||
fi
|
||||
|
||||
@ -234,7 +234,7 @@ if [ -z "$PREFIX" ]; then
|
||||
ln -sf /usr/share/shorewall-init/ifupdown /etc/network/if-post-down.d/shorewall
|
||||
echo "Shorewall Init will start automatically at boot"
|
||||
else
|
||||
if [ -n "$SUSE" ]; THEN
|
||||
if [ -n "$SUSE" ]; then
|
||||
ln -sf /usr/share/shorewall-init/ifupdown /etc/sysconfig/network/if-up.d/shorewall
|
||||
ln -sf /usr/share/shorewall-init/ifupdown /etc/sysconfig/network/if-down.d/shorewall
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user