diff options
author | Doug Barton <dougb@FreeBSD.org> | 2011-05-15 02:49:17 +0000 |
---|---|---|
committer | Doug Barton <dougb@FreeBSD.org> | 2011-05-15 02:49:17 +0000 |
commit | 29813d539747e58a6e3322df3f48eae4338c60b5 (patch) | |
tree | ad64253796dc7d189145d9bb72dbd175c35488f4 /net-mgmt | |
parent | -Update to 2.0.0b4.p7 (diff) |
Remove painful examples of foo="", with particular prejudice against
constructions that parse out to [ -z "$foo" ] && foo=""
These are bad examples that get copied and pasted into new code, so the
hope is that with less bad examples there will be less need for me to
bring this up in review.
In a few of these files all that were changed were comments so that next
time I search for these patterns I won't trip on the file for no reason.
In a few places, add $FreeBSD$
No functional changes, so no PORTREVISION bumps
Notes
Notes:
svn path=/head/; revision=274133
Diffstat (limited to 'net-mgmt')
-rw-r--r-- | net-mgmt/darkstat/files/darkstat.in | 2 | ||||
-rw-r--r-- | net-mgmt/macroscope/files/macroscope.in | 2 | ||||
-rw-r--r-- | net-mgmt/softflowd/files/softflowd.in | 4 | ||||
-rw-r--r-- | net-mgmt/trafd/files/trafd.in | 2 | ||||
-rw-r--r-- | net-mgmt/xymon-client/files/xymon-client.sh.in | 2 |
5 files changed, 5 insertions, 7 deletions
diff --git a/net-mgmt/darkstat/files/darkstat.in b/net-mgmt/darkstat/files/darkstat.in index 37b8b43fdad5..4669d541dee8 100644 --- a/net-mgmt/darkstat/files/darkstat.in +++ b/net-mgmt/darkstat/files/darkstat.in @@ -17,7 +17,7 @@ # darkstat_dir="/var/run/darkstat" # darkstat_pidname="darkstat.pid" # darkstat_dropuser="nobody" -# darkstat_flags="" +# darkstat_flags # # - examples: [ --no-promisc ] [ --no-dns ] [ -p port ] # [ -b bindaddr ] [ -f filter ] [ -l network/netmask ] diff --git a/net-mgmt/macroscope/files/macroscope.in b/net-mgmt/macroscope/files/macroscope.in index 9bffc758d8ef..4b6e4ad3cf65 100644 --- a/net-mgmt/macroscope/files/macroscope.in +++ b/net-mgmt/macroscope/files/macroscope.in @@ -12,7 +12,7 @@ # macroscope_enable="NO" # set to YES to enable macroscope # # # optional: -# macroscope_flags="" # additional command line arguments +# macroscope_flags # additional command line arguments # . /etc/rc.subr diff --git a/net-mgmt/softflowd/files/softflowd.in b/net-mgmt/softflowd/files/softflowd.in index 96247705c124..8473007d17c8 100644 --- a/net-mgmt/softflowd/files/softflowd.in +++ b/net-mgmt/softflowd/files/softflowd.in @@ -16,8 +16,8 @@ # softflowd_em1_timeouts="-t maxlife=600" # softflowd_em0_max_states="16000" # softflowd_em1_max_states="17000" -# softflowd_em0_extra_args="" -# softflowd_em1_extra_args="" +# softflowd_em0_extra_args +# softflowd_em1_extra_args . /etc/rc.subr diff --git a/net-mgmt/trafd/files/trafd.in b/net-mgmt/trafd/files/trafd.in index 1bb19ab67371..b1e2adb8fa6b 100644 --- a/net-mgmt/trafd/files/trafd.in +++ b/net-mgmt/trafd/files/trafd.in @@ -10,9 +10,9 @@ # # trafd_enable="YES" # trafd_ifaces="fxp0 fxp1 fxp2" -# trafd_flags="" # trafd_log="/var/log/traffic.log" # +# trafd_flags (Set as needed) . /etc/rc.subr diff --git a/net-mgmt/xymon-client/files/xymon-client.sh.in b/net-mgmt/xymon-client/files/xymon-client.sh.in index 2cafdc67c758..3e466318f607 100644 --- a/net-mgmt/xymon-client/files/xymon-client.sh.in +++ b/net-mgmt/xymon-client/files/xymon-client.sh.in @@ -13,7 +13,6 @@ rcvar=`set_rcvar` load_rc_config "$name" : ${xymon_client_enable:="NO"} -: ${xymon_client_flags:=""} command="%%PREFIX%%/www/xymon/client/runclient.sh" start_cmd="%%PREFIX%%/www/xymon/client/runclient.sh ${xymon_client_flags} start" @@ -23,4 +22,3 @@ reload_cmd="%%PREFIX%%/www/xymon/client/runclient.sh ${xymon_client_flags} resta pidfile="%%PREFIX%%/www/xymon/client/logs/clientlaunch.`hostname`.pid" run_rc_command "$1" -# eof |