mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-28 03:42:04 +01:00
-background is also a legitimate ppp mode. Don't change it to -auto.
This commit is contained in:
parent
f7ff004f2b
commit
46cc6bba0e
@ -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