mirror of
https://gitlab.com/shorewall/code.git
synced 2025-02-16 17:51:16 +01:00
Rename the ifupdown script.
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
499b0cddaa
commit
9f535b670d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user