Cleaning up some entries missed on the first sweep. Add a directory in

/var/run to store ppp(8) command sockets.

PR:		bin/29966
MFC after:	4
This commit is contained in:
Crist J. Clark 2001-12-17 22:05:23 +00:00
parent db87a77bd4
commit fab8f27310
4 changed files with 10 additions and 10 deletions

View File

@ -81,12 +81,12 @@ isdn:
# When phone calls become free (say 0:00 Saturday morning), we may want
# this in crontab (``crontab -l'', not /etc/crontab):
#
# 1 0 0 0 6 /usr/sbin/pppctl /tmp/ppp-isdn link \* set mode ddial
# 1 0 0 0 6 /usr/sbin/pppctl /var/run/ppp/ppp-isdn link \* set mode ddial
#
# and when we have to pay again (say 23:59 Sunday night), we may want
# this:
#
# 54 23 0 0 0 /usr/sbin/pppctl /tmp/ppp-isdn link \* set mode auto
# 54 23 0 0 0 /usr/sbin/pppctl /var/run/ppp/ppp-isdn link \* set mode auto
#
# And of course just in case of a weekend reboot, add
# /usr/local/etc/rc.d/ppp.sh:
@ -94,5 +94,5 @@ isdn:
# #! /bin/sh
# [ ."$1" != .start ] && exit 0
# case `date +%w` in
# 6|0) /usr/sbin/pppctl /tmp/ppp-isdn link \* set mode ddial;;
# 6|0) /usr/sbin/pppctl /var/run/ppp/ppp-isdn link \* set mode ddial;;
# esac

View File

@ -23,7 +23,7 @@
#
# Something rather strange happens here.
# If you connect to the vpn-in diagnostic socket with ``pppctl
# /var/tmp/vpn-in'' and do a ``show links'', only a single link shows up.
# /var/run/ppp/vpn-in'' and do a ``show links'', only a single link shows up.
# If you connect to the vpn diagnostic socket (which is created in
# ppp.linkup.span-isp.working, you see three links. This is because inetd
# is told to ``wait'' for ppp to finish and the receiving ppp gets to

View File

@ -5,13 +5,13 @@
# The ISP links start our MP version of ppp as they come up
isp1:
!bg pppctl /var/tmp/vpn link 1 close
!bg pppctl /var/run/ppp/vpn link 1 close
isp2:
!bg pppctl /var/tmp/vpn link 2 close
!bg pppctl /var/run/ppp/vpn link 2 close
ispN:
!bg pppctl /var/tmp/vpn link N close
!bg pppctl /var/run/ppp/vpn link N close
vpn:
set server none

View File

@ -5,13 +5,13 @@
# The ISP links start our MP version of ppp as they come up
isp1:
!bg pppctl /var/tmp/vpn link 1 close
!bg pppctl /var/run/ppp/vpn link 1 close
isp2:
!bg pppctl /var/tmp/vpn link 2 close
!bg pppctl /var/run/ppp/vpn link 2 close
isp3:
!bg pppctl /var/tmp/vpn link 3 close
!bg pppctl /var/run/ppp/vpn link 3 close
vpn:
set server none