-background is also a legitimate ppp mode. Don't change it to -auto.
This commit is contained in:
parent
b9b9a813b1
commit
805e4f2d64
@ -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} ";
|
||||
|
@ -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} ";
|
||||
|
@ -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} ";
|
||||
|
@ -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} ";
|
||||
|
@ -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} ";
|
||||
|
@ -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} ";
|
||||
|
@ -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} ";
|
||||
|
Loading…
Reference in New Issue
Block a user