summaryrefslogtreecommitdiffstats
path: root/release/bininst
diff options
context:
space:
mode:
Diffstat (limited to 'release/bininst')
-rwxr-xr-xrelease/bininst13
1 files changed, 11 insertions, 2 deletions
diff --git a/release/bininst b/release/bininst
index 154f76d..ba1a12b 100755
--- a/release/bininst
+++ b/release/bininst
@@ -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.25 1994/11/10 23:43:25 jkh Exp $
+# $Id: bininst,v 1.26 1994/11/11 07:33:50 jkh Exp $
# Some useful constants.
PATH=/usr/bin:/usr/sbin:/bin:/sbin:/stand
@@ -78,7 +78,7 @@ handle_rval() {
# A simple user-confirmation dialog.
confirm() {
- dialog --title "Please Confirm" --msgbox "$*" 6 72
+ dialog --title "User Confirmation" --msgbox "$*" 8 72
}
# A simple message box dialog.
@@ -316,6 +316,15 @@ setup_network_slip()
if ! network_dialog "What speed is the serial interface"; then return 1; fi
serial_speed=$answer
clear="--clear"
+
+ if dialog $clear --title "Dial" --yesno "Do you need to dial the phone or otherwise talk to the modem?"; then
+ 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."
+ dialog --clear
+ cu -l $serial_interface -s $serial_speed
+ dialog --clear
+ fi
}
setup_network_plip()
OpenPOWER on IntegriCloud