Rename the ifupdown script.

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2010-05-17 16:26:59 -07:00
parent 499b0cddaa
commit 9f535b670d
2 changed files with 4 additions and 4 deletions

View File

@ -210,14 +210,14 @@ fi
#
# Install the ifupdown script
#
if [ -n "$DEBIAN" ]; then
run_install $OWNERSHIP -m 744 ifupdown.debian.sh ${PREFIX}/usr/share/shorewall-init/ifupdown
else
run_install $OWNERSHIP -m 744 ifupdown.sh ${PREFIX}/usr/share/shorewall-init/ifupdown
if [ -z "$DEBIAN" ]; then
if [ -n "$PREFIX" ]; then
mkdir -p ${PREFIX}/etc/sysconfig
fi
if [ -d ${PREFIX}/etc/sysconfig ]; then
if [ -d ${PREFIX}/etc/sysconfig -a ! -f ${PREFIX}/etcsysconfig/shorewall-init ]; then
run_install $OWNERSHIP -m 0644 sysconfig /etc/default/shorewall-init
fi
fi