Make sure /var/log exists so that cu doesn't complain.

This commit is contained in:
Jordan K. Hubbard 1994-11-11 08:34:03 +00:00
parent 97fa4b4e3c
commit 99a164544a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=4359

View File

@ -13,7 +13,7 @@
# your name on top after doing something trivial like reindenting it, just
# to make it look like you wrote it!).
#
# $Id: bininst,v 1.26 1994/11/11 07:33:50 jkh Exp $
# $Id: bininst,v 1.27 1994/11/11 08:33:03 jkh Exp $
# Some useful constants.
PATH=/usr/bin:/usr/sbin:/bin:/sbin:/stand
@ -318,6 +318,7 @@ setup_network_slip()
clear="--clear"
if dialog $clear --title "Dial" --yesno "Do you need to dial the phone or otherwise talk to the modem?"; then
mkdir -p /var/log
touch -f /var/log/aculog >& /dev/null
chmod 666 /var/log/aculog >& /dev/null
confirm "You may now dialog with your modem and set up the slip connection.\nBe sure to disable DTR sensitivity (usually with AT&D0) or the modem may\nhang up when you exit 'cu'. Use ~. to exit cu and continue."