aboutsummaryrefslogtreecommitdiff
path: root/comms
diff options
context:
space:
mode:
authorJean-Marc Zucconi <jmz@FreeBSD.org>1998-07-12 23:29:38 +0000
committerJean-Marc Zucconi <jmz@FreeBSD.org>1998-07-12 23:29:38 +0000
commit70bef47e5818f970b18cc7768989e0f3a98ab07d (patch)
tree2a3df8260b75c53af699bdaa6888480689f53645 /comms
parent27f602b240c558813a88dc9e8509dc4e26859267 (diff)
downloadports-70bef47e5818f970b18cc7768989e0f3a98ab07d.tar.gz
ports-70bef47e5818f970b18cc7768989e0f3a98ab07d.zip
Notes
Diffstat (limited to 'comms')
-rw-r--r--comms/mgetty+sendfax/files/mgettycfg.in2
-rw-r--r--comms/mgetty+sendfax/pkg-deinstall19
-rw-r--r--comms/mgetty+sendfax/pkg-install2
3 files changed, 21 insertions, 2 deletions
diff --git a/comms/mgetty+sendfax/files/mgettycfg.in b/comms/mgetty+sendfax/files/mgettycfg.in
index c1dfb6106cdf..15ab65c757c7 100644
--- a/comms/mgetty+sendfax/files/mgettycfg.in
+++ b/comms/mgetty+sendfax/files/mgettycfg.in
@@ -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
diff --git a/comms/mgetty+sendfax/pkg-deinstall b/comms/mgetty+sendfax/pkg-deinstall
new file mode 100644
index 000000000000..d3584709d239
--- /dev/null
+++ b/comms/mgetty+sendfax/pkg-deinstall
@@ -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
diff --git a/comms/mgetty+sendfax/pkg-install b/comms/mgetty+sendfax/pkg-install
index c1dfb6106cdf..15ab65c757c7 100644
--- a/comms/mgetty+sendfax/pkg-install
+++ b/comms/mgetty+sendfax/pkg-install
@@ -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