From 46cc6bba0eb30a16df715e529802381726c843a3 Mon Sep 17 00:00:00 2001 From: peter Date: Wed, 1 Sep 1999 08:57:01 +0000 Subject: [PATCH] -background is also a legitimate ppp mode. Don't change it to -auto. --- etc/network.subr | 3 ++- etc/rc.d/netoptions | 3 ++- etc/rc.d/network1 | 3 ++- etc/rc.d/network2 | 3 ++- etc/rc.d/network3 | 3 ++- etc/rc.d/routing | 3 ++- etc/rc.network | 3 ++- 7 files changed, 14 insertions(+), 7 deletions(-) diff --git a/etc/network.subr b/etc/network.subr index 9c5f4aaab133..d1325255b4b9 100644 --- a/etc/network.subr +++ b/etc/network.subr @@ -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} "; diff --git a/etc/rc.d/netoptions b/etc/rc.d/netoptions index 9c5f4aaab133..d1325255b4b9 100644 --- a/etc/rc.d/netoptions +++ b/etc/rc.d/netoptions @@ -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} "; diff --git a/etc/rc.d/network1 b/etc/rc.d/network1 index 9c5f4aaab133..d1325255b4b9 100644 --- a/etc/rc.d/network1 +++ b/etc/rc.d/network1 @@ -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} "; diff --git a/etc/rc.d/network2 b/etc/rc.d/network2 index 9c5f4aaab133..d1325255b4b9 100644 --- a/etc/rc.d/network2 +++ b/etc/rc.d/network2 @@ -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} "; diff --git a/etc/rc.d/network3 b/etc/rc.d/network3 index 9c5f4aaab133..d1325255b4b9 100644 --- a/etc/rc.d/network3 +++ b/etc/rc.d/network3 @@ -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} "; diff --git a/etc/rc.d/routing b/etc/rc.d/routing index 9c5f4aaab133..d1325255b4b9 100644 --- a/etc/rc.d/routing +++ b/etc/rc.d/routing @@ -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} "; diff --git a/etc/rc.network b/etc/rc.network index 9c5f4aaab133..d1325255b4b9 100644 --- a/etc/rc.network +++ b/etc/rc.network @@ -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} ";