From 42544287c5892ecdc0eaf760d4e1921ea72d031a Mon Sep 17 00:00:00 2001 From: emax Date: Fri, 12 Oct 2007 16:35:36 +0000 Subject: 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 --- etc/defaults/rc.conf | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'etc/defaults') 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). -- cgit v1.1