summaryrefslogtreecommitdiffstats
path: root/etc/netstart
diff options
context:
space:
mode:
authorpst <pst@FreeBSD.org>1996-01-02 19:47:05 +0000
committerpst <pst@FreeBSD.org>1996-01-02 19:47:05 +0000
commit4aba64e2ff52bc71eafce7e43f1d0e1458cda32d (patch)
tree430be82d6960bf74672bdebeb4ca52b4393e59f3 /etc/netstart
parent442289ecebabcbeb775641ba8f8982000cf3c185 (diff)
downloadFreeBSD-src-4aba64e2ff52bc71eafce7e43f1d0e1458cda32d.zip
FreeBSD-src-4aba64e2ff52bc71eafce7e43f1d0e1458cda32d.tar.gz
Using csh constructs in shell scripts is a boo-boo.
Diffstat (limited to 'etc/netstart')
-rwxr-xr-xetc/netstart4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/netstart b/etc/netstart
index 7d2bd37..122bb31 100755
--- a/etc/netstart
+++ b/etc/netstart
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $Id: netstart,v 1.35 1995/08/25 07:18:04 davidg Exp $
+# $Id: netstart,v 1.36 1995/12/28 01:24:03 jkh Exp $
# From: @(#)netstart 5.9 (Berkeley) 3/30/91
# Note that almost all the user-configurable behavior is no longer in
@@ -56,7 +56,7 @@ done
if [ "x$gateway" != "xNO" ]; then
echo 'configuring host as a gateway.'
- sysctl -w net.inet.ip.forwarding=1 >& /dev/null
+ sysctl -w net.inet.ip.forwarding=1 >/dev/null 2>&1
fi
if [ "x$routedflags" != "xNO" ] ; then
OpenPOWER on IntegriCloud