summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
}