Add a directory in /var/run to store ppp(8) command sockets.
PR: bin/29966 Approved by: brian MFC after: 4
This commit is contained in:
parent
7a631f774d
commit
7558c91f77
@ -58,6 +58,7 @@
|
||||
run
|
||||
named uname=bind gname=bind
|
||||
..
|
||||
ppp gname=network mode=0770
|
||||
..
|
||||
rwho gname=daemon mode=0775
|
||||
..
|
||||
|
@ -75,7 +75,7 @@ isdn:
|
||||
link * set mode auto # Automatically manage the second link
|
||||
set autoload 10 80 30 # Down @10% usage, up at 80%, 30s sample
|
||||
|
||||
set server /tmp/ppp-isdn "" 0177 # The diagnostic port (-rw-------)
|
||||
set server /var/run/ppp/ppp-isdn "" 0177 # The diagnostic port (-rw-------)
|
||||
|
||||
#
|
||||
# When phone calls become free (say 0:00 Saturday morning), we may want
|
||||
|
@ -156,7 +156,7 @@ TA:
|
||||
|
||||
set mru 1504 # Some extra room for the MP header
|
||||
|
||||
set server /tmp/ppp-TA "" 0177 # The diagnostic port (-rw-------)
|
||||
set server /var/run/ppp/ppp-TA "" 0177 # The diagnostic port (-rw-------)
|
||||
|
||||
|
||||
# Example segments
|
||||
@ -182,7 +182,7 @@ examples:
|
||||
# First, you must set up your control socket. It's safest to use
|
||||
# a UNIX domain socket, and watch the permissions:
|
||||
#
|
||||
set server /var/tmp/internet MySecretPassword 0177
|
||||
set server /var/run/ppp/internet MySecretPassword 0177
|
||||
#
|
||||
# Although a TCP port may be used if you want to allow control
|
||||
# connections from other machines:
|
||||
@ -566,7 +566,7 @@ loop:
|
||||
set dial
|
||||
set login
|
||||
set ifaddr 127.0.0.2 127.0.0.3
|
||||
set server /var/tmp/loop "" 0177
|
||||
set server /var/run/ppp/loop "" 0177
|
||||
|
||||
loop-in:
|
||||
set timeout 0
|
||||
|
@ -94,7 +94,7 @@ vpn-in:
|
||||
enable chap
|
||||
disable lqr
|
||||
set ifaddr 127.0.0.2 127.0.0.3
|
||||
set server /var/tmp/vpn-in "" 0177
|
||||
set server /var/run/ppp/vpn-in "" 0177
|
||||
|
||||
|
||||
isp-in-7:
|
||||
|
@ -14,4 +14,4 @@ ispN:
|
||||
!bg ppp -background vpnN vpn
|
||||
|
||||
vpn:
|
||||
set server /var/tmp/vpn "" 0177
|
||||
set server /var/run/ppp/vpn "" 0177
|
||||
|
@ -14,4 +14,4 @@ isp3:
|
||||
!bg ppp -background vpn3 vpn
|
||||
|
||||
vpn:
|
||||
set server /var/tmp/vpn "" 0177
|
||||
set server /var/run/ppp/vpn "" 0177
|
||||
|
@ -715,6 +715,9 @@ system information files describing various info about
|
||||
system since it was booted
|
||||
.Pp
|
||||
.Bl -tag -width Fl -compact
|
||||
.It Pa ppp/
|
||||
writable by the network group for command connection sockets; see
|
||||
.Xr ppp 8
|
||||
.It Pa utmp
|
||||
database of current users;
|
||||
see
|
||||
|
Loading…
Reference in New Issue
Block a user