diff options
author | Thorsten Lockert <tholo@cvs.openbsd.org> | 1996-12-08 22:39:36 +0000 |
---|---|---|
committer | Thorsten Lockert <tholo@cvs.openbsd.org> | 1996-12-08 22:39:36 +0000 |
commit | b830e4764f39c64d793dce8b5c17a30faf3d3c8e (patch) | |
tree | ac702d817f94b446793c966be8f780e870b203d5 /gnu | |
parent | 71651137d37a324acb7049652d25b54b8dbacfe0 (diff) |
Install sample configuration files if none are present
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/libexec/uucp/Makefile | 5 | ||||
-rw-r--r-- | gnu/libexec/uucp/sample/Makefile | 15 | ||||
-rw-r--r-- | gnu/libexec/uucp/sample/call | 2 | ||||
-rw-r--r-- | gnu/libexec/uucp/sample/passwd | 2 | ||||
-rw-r--r-- | gnu/libexec/uucp/sample/port | 18 | ||||
-rw-r--r-- | gnu/libexec/uucp/sample/sys (renamed from gnu/libexec/uucp/sample/sys1) | 20 |
6 files changed, 39 insertions, 23 deletions
diff --git a/gnu/libexec/uucp/Makefile b/gnu/libexec/uucp/Makefile index d408d413709..ad25c3f180e 100644 --- a/gnu/libexec/uucp/Makefile +++ b/gnu/libexec/uucp/Makefile @@ -1,8 +1,9 @@ # This is the Makefile for Taylor UUCP -# $Id: Makefile,v 1.1 1995/10/18 08:38:22 deraadt Exp $ +# $Id: Makefile,v 1.2 1996/12/08 22:39:31 tholo Exp $ SUBDIR= libunix libuucp libuuconf \ cu uuchk uucico uuconv uucp uulog uuname uupick uusched \ - uustat uuto uux uuxqt + uustat uuto uux uuxqt \ + sample .include <bsd.subdir.mk> diff --git a/gnu/libexec/uucp/sample/Makefile b/gnu/libexec/uucp/sample/Makefile new file mode 100644 index 00000000000..9070559501b --- /dev/null +++ b/gnu/libexec/uucp/sample/Makefile @@ -0,0 +1,15 @@ +# $OpenBSD: Makefile,v 1.1 1996/12/08 22:39:32 tholo Exp $ + +FILES= call config dial dialcode passwd port sys +NOOBJ= noobj + +install: + @echo installing ${FILES} + @-for i in ${FILES}; do \ + if [ ! -f ${DESTDIR}/etc/uucp/$$i ]; then \ + ${INSTALL} ${COPY} -o root -g wheel -m 644 $$i \ + ${DESTDIR}/etc/uucp; \ + fi; \ + done + +.include <bsd.prog.mk> diff --git a/gnu/libexec/uucp/sample/call b/gnu/libexec/uucp/sample/call index de4190ce612..d9385647217 100644 --- a/gnu/libexec/uucp/sample/call +++ b/gnu/libexec/uucp/sample/call @@ -17,4 +17,4 @@ # to connect to the remote system. # The format is just system-name login-name password. -uunet Uairs foobar +#uunet Uairs foobar diff --git a/gnu/libexec/uucp/sample/passwd b/gnu/libexec/uucp/sample/passwd index 2b04e13a343..6f4d75068f8 100644 --- a/gnu/libexec/uucp/sample/passwd +++ b/gnu/libexec/uucp/sample/passwd @@ -15,4 +15,4 @@ # but not permitting remote users to actually log in to the system. # The format is just login-name password. -Uairs foobar +#Uairs foobar diff --git a/gnu/libexec/uucp/sample/port b/gnu/libexec/uucp/sample/port index 8e481869b56..83332bcd320 100644 --- a/gnu/libexec/uucp/sample/port +++ b/gnu/libexec/uucp/sample/port @@ -14,28 +14,28 @@ # for all ports that appear later in the file. In this case all ports # will default to being modems (other possible types are direct, tcp # and tli). -type modem +#type modem # Now we describe two ports. # This is the name of the port. This name may be used in the sys file # to select the port, or the sys file may just specify a baud rate in # which case the first matching unlocked port will be used. -port port1 +#port port1 # This is the device name to open to dial out. -device /dev/ttyd0 +#device /dev/ttyd0 # This is the dialer to use, as described in the dialer file. -dialer hayes +#dialer hayes # This is the baud rate to dial out at. -speed 2400 +#speed 2400 # Here is a second port. This is like the first, except that it uses # a different device. It also permits a range of speeds, which is # mainly useful if the system specifies a particular baud rate. -port port2 -device /dev/ttyd1 -dialer hayes -speed-range 2400 9600 +#port port2 +#device /dev/ttyd1 +#dialer hayes +#speed-range 2400 9600 diff --git a/gnu/libexec/uucp/sample/sys1 b/gnu/libexec/uucp/sample/sys index fa9e7709e1c..ea86cab7796 100644 --- a/gnu/libexec/uucp/sample/sys1 +++ b/gnu/libexec/uucp/sample/sys @@ -15,30 +15,30 @@ # provides another example. # The name of the remote system that we call. -system uunet +#system uunet # The login name and password are kept in the callout password file # (by default this is the file "call" in newconfigdir). -call-login * -call-password * +#call-login * +#call-password * # We can send anything at any time. -time any +#time any # During the day we only accept grade 'Z' or above; at other times # (not mentioned here) we accept all grades. uunet queues up news # at grade 'd', which is lower than 'Z'. -call-timegrade Z Wk0755-2305,Su1655-2305 +#call-timegrade Z Wk0755-2305,Su1655-2305 # The phone number to call. -phone 7389449 +#phone 7389449 # uunet tends to be slow, so we increase the timeout -chat-timeout 120 +#chat-timeout 120 # The port we use to dial out. -port serial +#port serial # Increase the timeout and the number of retries. -protocol-parameter g timeout 20 -protocol-parameter g retries 10 +#protocol-parameter g timeout 20 +#protocol-parameter g retries 10 |