-background is also a legitimate ppp mode. Don't change it to -auto.

This commit is contained in:
Peter Wemm 1999-09-01 08:57:01 +00:00
parent b9b9a813b1
commit 805e4f2d64
7 changed files with 14 additions and 7 deletions

View File

@ -100,7 +100,8 @@ network_pass1() {
if [ "${ppp_enable}" = "YES" ]; then
# Establish ppp mode.
if [ "${ppp_mode}" != "ddial" -a "${ppp_mode}" != "direct" \
-a "${ppp_mode}" != "dedicated" ]; then \
-a "${ppp_mode}" != "dedicated" \
-a "${ppp_mode}" != "background" ]; then
ppp_mode="auto";
fi
ppp_command="-${ppp_mode} ";

View File

@ -100,7 +100,8 @@ network_pass1() {
if [ "${ppp_enable}" = "YES" ]; then
# Establish ppp mode.
if [ "${ppp_mode}" != "ddial" -a "${ppp_mode}" != "direct" \
-a "${ppp_mode}" != "dedicated" ]; then \
-a "${ppp_mode}" != "dedicated" \
-a "${ppp_mode}" != "background" ]; then
ppp_mode="auto";
fi
ppp_command="-${ppp_mode} ";

View File

@ -100,7 +100,8 @@ network_pass1() {
if [ "${ppp_enable}" = "YES" ]; then
# Establish ppp mode.
if [ "${ppp_mode}" != "ddial" -a "${ppp_mode}" != "direct" \
-a "${ppp_mode}" != "dedicated" ]; then \
-a "${ppp_mode}" != "dedicated" \
-a "${ppp_mode}" != "background" ]; then
ppp_mode="auto";
fi
ppp_command="-${ppp_mode} ";

View File

@ -100,7 +100,8 @@ network_pass1() {
if [ "${ppp_enable}" = "YES" ]; then
# Establish ppp mode.
if [ "${ppp_mode}" != "ddial" -a "${ppp_mode}" != "direct" \
-a "${ppp_mode}" != "dedicated" ]; then \
-a "${ppp_mode}" != "dedicated" \
-a "${ppp_mode}" != "background" ]; then
ppp_mode="auto";
fi
ppp_command="-${ppp_mode} ";

View File

@ -100,7 +100,8 @@ network_pass1() {
if [ "${ppp_enable}" = "YES" ]; then
# Establish ppp mode.
if [ "${ppp_mode}" != "ddial" -a "${ppp_mode}" != "direct" \
-a "${ppp_mode}" != "dedicated" ]; then \
-a "${ppp_mode}" != "dedicated" \
-a "${ppp_mode}" != "background" ]; then
ppp_mode="auto";
fi
ppp_command="-${ppp_mode} ";

View File

@ -100,7 +100,8 @@ network_pass1() {
if [ "${ppp_enable}" = "YES" ]; then
# Establish ppp mode.
if [ "${ppp_mode}" != "ddial" -a "${ppp_mode}" != "direct" \
-a "${ppp_mode}" != "dedicated" ]; then \
-a "${ppp_mode}" != "dedicated" \
-a "${ppp_mode}" != "background" ]; then
ppp_mode="auto";
fi
ppp_command="-${ppp_mode} ";

View File

@ -100,7 +100,8 @@ network_pass1() {
if [ "${ppp_enable}" = "YES" ]; then
# Establish ppp mode.
if [ "${ppp_mode}" != "ddial" -a "${ppp_mode}" != "direct" \
-a "${ppp_mode}" != "dedicated" ]; then \
-a "${ppp_mode}" != "dedicated" \
-a "${ppp_mode}" != "background" ]; then
ppp_mode="auto";
fi
ppp_command="-${ppp_mode} ";