summaryrefslogtreecommitdiffstats
path: root/etc/defaults
diff options
context:
space:
mode:
authoremax <emax@FreeBSD.org>2007-10-12 16:35:36 +0000
committeremax <emax@FreeBSD.org>2007-10-12 16:35:36 +0000
commit42544287c5892ecdc0eaf760d4e1921ea72d031a (patch)
treec0b98271aa3206c7ab5ebdd95f526c5e2c740153 /etc/defaults
parent4f35ee7413502cf02d63d8cb4b1c60b1682f1700 (diff)
downloadFreeBSD-src-42544287c5892ecdc0eaf760d4e1921ea72d031a.zip
FreeBSD-src-42544287c5892ecdc0eaf760d4e1921ea72d031a.tar.gz
Teach /etc/rc.d/ppp to start multiple instances of ppp.
ppp_profile variable can now contain multiple profiles. Overrides for ppp mode and nat can go into ppp_$profile_mode and ppp_$profile_nat variables respectively. If those are not specified, defaults from ppp_mode and ppp_nat are used. Submitted by: Yuri Kurenkov < y dot kurenkov at init dot ru > Reviewed by: mtm MFC after: 1 week
Diffstat (limited to 'etc/defaults')
-rw-r--r--etc/defaults/rc.conf6
1 files changed, 6 insertions, 0 deletions
diff --git a/etc/defaults/rc.conf b/etc/defaults/rc.conf
index 1027ec1..7a18b9c 100644
--- a/etc/defaults/rc.conf
+++ b/etc/defaults/rc.conf
@@ -205,6 +205,12 @@ ppp_nat="YES" # Use PPP's internal network address translation or NO.
ppp_profile="papchap" # Which profile to use from /etc/ppp/ppp.conf.
ppp_user="root" # Which user to run ppp as
+# Start multiple instances of ppp at boot time
+#ppp_profile="profile1 profile2 profile3" # Which profiles to use
+#ppp_profile1_mode="ddial" # Override ppp mode for profile1
+#ppp_profile2_nat="NO" # Override nat mode for profile2
+# profile3 uses default ppp_mode and ppp_nat
+
### Network daemon (miscellaneous) ###
hostapd_enable="NO" # Run hostap daemon.
syslogd_enable="YES" # Run syslog daemon (or NO).
OpenPOWER on IntegriCloud