summaryrefslogtreecommitdiff
path: root/net/speedtouch
diff options
context:
space:
mode:
authorabs <abs@pkgsrc.org>2002-08-21 14:11:43 +0000
committerabs <abs@pkgsrc.org>2002-08-21 14:11:43 +0000
commitd9d213ee8b7e8387d0dead34191a72d02d244040 (patch)
tree12fbc7df02951bb6974d98a22a9d8ccb99b6d6e3 /net/speedtouch
parent8ed29774509cff7d4ec2898aab6d8bf365258857 (diff)
downloadpkgsrc-d9d213ee8b7e8387d0dead34191a72d02d244040.tar.gz
adjust stdout/stderr redirect of ifconfig. cosmetic change only
Diffstat (limited to 'net/speedtouch')
-rw-r--r--net/speedtouch/files/adsl.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/speedtouch/files/adsl.sh b/net/speedtouch/files/adsl.sh
index a27e1bee410..846fd4c7c83 100644
--- a/net/speedtouch/files/adsl.sh
+++ b/net/speedtouch/files/adsl.sh
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $NetBSD: adsl.sh,v 1.2 2002/07/18 00:10:07 abs Exp $
+# $NetBSD: adsl.sh,v 1.3 2002/08/21 14:11:43 abs Exp $
#
# PROVIDE: adsl
# REQUIRE: ipnat
@@ -12,7 +12,7 @@ adsl_start()
{
echo "Starting speedtouch adsl."
# Ensure we have at least tun0 - NetBSD 1.6 and later
- ifconfig tun0 2>/dev/null || ifconfig tun0 create
+ ifconfig tun0 >/dev/null 2>&1 || ifconfig tun0 create
@PREFIX@/sbin/modem_run -f @PREFIX@/libdata/alcaudsl.sys -m
@PREFIX@/sbin/ppp -ddial adsl
}