Fix product list generation

This commit is contained in:
Tom Eastep 2010-12-04 12:16:30 -08:00
parent 4bcfb8dea6
commit c37e2c40aa
2 changed files with 3 additions and 3 deletions

View File

@ -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";

View File

@ -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