diff options
author | Maksim Yevmenkin <emax@FreeBSD.org> | 2007-10-12 16:35:36 +0000 |
---|---|---|
committer | Maksim Yevmenkin <emax@FreeBSD.org> | 2007-10-12 16:35:36 +0000 |
commit | b1e50be2c6acc2063b9371df7c814d943e3f5441 (patch) | |
tree | c0b98271aa3206c7ab5ebdd95f526c5e2c740153 /etc/defaults | |
parent | de32d3c5ea966e6a4f56e775ad84dc360a9f50f1 (diff) | |
download | src-b1e50be2c6acc2063b9371df7c814d943e3f5441.tar.gz src-b1e50be2c6acc2063b9371df7c814d943e3f5441.zip |
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
Notes
Notes:
svn path=/head/; revision=172586
Diffstat (limited to 'etc/defaults')
-rw-r--r-- | etc/defaults/rc.conf | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/etc/defaults/rc.conf b/etc/defaults/rc.conf index 1027ec156b77..7a18b9c29025 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). |