1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-31 05:41:08 +00:00

Change the default for autobauding from YES to NO.

Give the user a chance to backup the config files before deinstalling
the port (fixes PR ports/7175).
This commit is contained in:
Jean-Marc Zucconi 1998-07-12 23:29:38 +00:00
parent 27f602b240
commit 70bef47e58
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=11870
3 changed files with 21 additions and 2 deletions

View File

@ -330,7 +330,7 @@ sub inq_m {
modem setup command.", $def{'answer-chat-timeout'});
$settings .= " autobauding";
$def{'autobauding'} = "YES" if !$def{'autobauding'};
$def{'autobauding'} = "NO" if !$def{'autobauding'};
$def{'autobauding'} = &ask (" - `autobauding'
Some modems switch their DTE line speed to the communication line
speed after connecting, e.g., after sending `CONNECT 2400', the

View File

@ -0,0 +1,19 @@
#!/bin/sh
prefix=/usr/local
cat << END
Deinstalling mgetty+sendfax will remove your configuration files (usually
mgetty.config and sendfax.config in $prefix/etc/mgetty+sendfax/). If you
want to reinstall the port later, you must make a backup of those files
now.
END
echo -n "do you want to deinstall the package ? [y] "
read answ; if [ "$answ" = "" ]; then answ=y; fi
case $answ in
y*|Y*) exit 0;;
*) exit 1;;
esac

View File

@ -330,7 +330,7 @@ sub inq_m {
modem setup command.", $def{'answer-chat-timeout'});
$settings .= " autobauding";
$def{'autobauding'} = "YES" if !$def{'autobauding'};
$def{'autobauding'} = "NO" if !$def{'autobauding'};
$def{'autobauding'} = &ask (" - `autobauding'
Some modems switch their DTE line speed to the communication line
speed after connecting, e.g., after sending `CONNECT 2400', the