summaryrefslogtreecommitdiffstats
path: root/share/examples/ppp
diff options
context:
space:
mode:
authorcjc <cjc@FreeBSD.org>2001-12-17 22:05:23 +0000
committercjc <cjc@FreeBSD.org>2001-12-17 22:05:23 +0000
commitc31598576d5dd1f5855e9833dc6ae0c5165a56a7 (patch)
tree2f2a3f261ea4be716edc5d33f36aa0d2ba7fb9a3 /share/examples/ppp
parentb0b7ebaca675791036cf9d83e2cce4c1c1731a31 (diff)
downloadFreeBSD-src-c31598576d5dd1f5855e9833dc6ae0c5165a56a7.zip
FreeBSD-src-c31598576d5dd1f5855e9833dc6ae0c5165a56a7.tar.gz
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
Diffstat (limited to 'share/examples/ppp')
-rw-r--r--share/examples/ppp/ppp.conf.isdn6
-rw-r--r--share/examples/ppp/ppp.conf.span-isp.working2
-rw-r--r--share/examples/ppp/ppp.linkdown.span-isp6
-rw-r--r--share/examples/ppp/ppp.linkdown.span-isp.working6
4 files changed, 10 insertions, 10 deletions
diff --git a/share/examples/ppp/ppp.conf.isdn b/share/examples/ppp/ppp.conf.isdn
index 992dfe7..f60f6bb 100644
--- a/share/examples/ppp/ppp.conf.isdn
+++ b/share/examples/ppp/ppp.conf.isdn
@@ -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
diff --git a/share/examples/ppp/ppp.conf.span-isp.working b/share/examples/ppp/ppp.conf.span-isp.working
index 428c6a2..2841ddc 100644
--- a/share/examples/ppp/ppp.conf.span-isp.working
+++ b/share/examples/ppp/ppp.conf.span-isp.working
@@ -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
diff --git a/share/examples/ppp/ppp.linkdown.span-isp b/share/examples/ppp/ppp.linkdown.span-isp
index ae00b57..795a559 100644
--- a/share/examples/ppp/ppp.linkdown.span-isp
+++ b/share/examples/ppp/ppp.linkdown.span-isp
@@ -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
diff --git a/share/examples/ppp/ppp.linkdown.span-isp.working b/share/examples/ppp/ppp.linkdown.span-isp.working
index 104e8c3..ba34d05 100644
--- a/share/examples/ppp/ppp.linkdown.span-isp.working
+++ b/share/examples/ppp/ppp.linkdown.span-isp.working
@@ -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
OpenPOWER on IntegriCloud