mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Using csh constructs in shell scripts is a boo-boo.
This commit is contained in:
parent
876791a6b6
commit
f8c4a67b6a
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue