mirror of
https://gitlab.com/shorewall/code.git
synced 2025-06-20 01:37:59 +02: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
|
# IPv4
|
||||||
#
|
#
|
||||||
for product in $PRODUCTS; do
|
for product in $SAVEPRODUCTS; do
|
||||||
case $product in
|
case $product in
|
||||||
shorewall|shorewall-lite)
|
shorewall|shorewall-lite)
|
||||||
PRODUCTS="$PRODUCTS $product";
|
PRODUCTS="$PRODUCTS $product";
|
||||||
@ -60,7 +60,7 @@ if [ -f /etc/debian_version ]; then
|
|||||||
#
|
#
|
||||||
# IPv6
|
# IPv6
|
||||||
#
|
#
|
||||||
for product in $PRODUCTS; do
|
for product in $SAVEPRODUCTS; do
|
||||||
case $product in
|
case $product in
|
||||||
shorewall6|shorewall6-lite)
|
shorewall6|shorewall6-lite)
|
||||||
PRODUCTS="$PRODUCTS $product";
|
PRODUCTS="$PRODUCTS $product";
|
||||||
|
@ -332,7 +332,7 @@ else
|
|||||||
fi
|
fi
|
||||||
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
|
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
|
[ -d /etc/ppp/$directory ] && ln -sf /usr/share/shorewall-init/ifupdown /etc/ppp/$directory/shorewall
|
||||||
done
|
done
|
||||||
|
Loading…
x
Reference in New Issue
Block a user