mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-23 06:38:53 +01:00
Fix syntax error in .spec
This commit is contained in:
parent
6d65100457
commit
05d1862d81
@ -75,14 +75,12 @@ else
|
||||
if [ -f /etc/ppp/ip-up.local -o -f /etc/ppp/ip-down.local ]; then
|
||||
if ! grep -q Shorewall-based /etc/ppp/ip-up.local || ! grep -q Shorewall-based /etc/ppp//ip-down.local; then
|
||||
echo "WARNING: /etc/ppp/ip-up.local and/or /etc/ppp/ip-down.local already exist; ppp devices will not be handled" >&2
|
||||
else
|
||||
cp -pf /usr/share/shorewall-init/ifupdown /etc/ppp/ip-up.local
|
||||
cp -pf /usr/share/shorewall-init/ifupdown /etc/ppp/ip-down.local
|
||||
fi
|
||||
else
|
||||
cp -pf /usr/share/shorewall-init/ifupdown /etc/ppp/ip-up.local
|
||||
cp -pf /usr/share/shorewall-init/ifupdown /etc/ppp/ip-down.local
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ -d /etc/NetworkManager/dispatcher.d/ ]; then
|
||||
cp -pf /usr/share/shorewall-init/ifupdown /etc/NetworkManager/dispatcher.d/01-shorewall
|
||||
|
Loading…
Reference in New Issue
Block a user