Correct problems with SuSE init.

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2010-05-18 08:16:31 -07:00
parent 9d3d66d4a2
commit bcf419fbce
2 changed files with 3 additions and 3 deletions

View File

@ -54,7 +54,7 @@ elif [ -f /etc/SuSE-release ]; then
#
# SuSE ifupdown system
#
$IFACE = "$2"
IFACE="$2"
case $0 in
*if-up.d*)

View File

@ -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