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

This commit is contained in:
peter 1999-09-01 08:57:01 +00:00
parent f7ff004f2b
commit 46cc6bba0e
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} ";