mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-08 16:54:10 +01:00
Fix product list generation
This commit is contained in:
parent
4bcfb8dea6
commit
c37e2c40aa
@ -48,7 +48,7 @@ if [ -f /etc/debian_version ]; then
|
||||
#
|
||||
# IPv4
|
||||
#
|
||||
for product in $PRODUCTS; do
|
||||
for product in $SAVEPRODUCTS; do
|
||||
case $product in
|
||||
shorewall|shorewall-lite)
|
||||
PRODUCTS="$PRODUCTS $product";
|
||||
@ -60,7 +60,7 @@ if [ -f /etc/debian_version ]; then
|
||||
#
|
||||
# IPv6
|
||||
#
|
||||
for product in $PRODUCTS; do
|
||||
for product in $SAVEPRODUCTS; do
|
||||
case $product in
|
||||
shorewall6|shorewall6-lite)
|
||||
PRODUCTS="$PRODUCTS $product";
|
||||
|
@ -332,7 +332,7 @@ else
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ -n "$DEBIAN" ] -a -d /etc/ppp ]; then
|
||||
if [ -n "$DEBIAN" ] -a -d /etc/ppp ]; then
|
||||
for directory in ip-up.d ip-down.d ipv6-up.d ipv6-down.d; do
|
||||
[ -d /etc/ppp/$directory ] && ln -sf /usr/share/shorewall-init/ifupdown /etc/ppp/$directory/shorewall
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user