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-p2p | |
parent | 47674a9024d5ae3cd9f5366e069619af12740e46 (diff) | |
download | ports-29813d539747e58a6e3322df3f48eae4338c60b5.tar.gz ports-29813d539747e58a6e3322df3f48eae4338c60b5.zip |
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-p2p')
-rw-r--r-- | net-p2p/gift/files/giftd.in | 4 | ||||
-rw-r--r-- | net-p2p/i2p/files/i2p.sh.in | 5 | ||||
-rw-r--r-- | net-p2p/mldonkey/files/kill_mldonkey | 2 | ||||
-rw-r--r-- | net-p2p/mldonkey/files/mlnet.in | 9 |
4 files changed, 9 insertions, 11 deletions
diff --git a/net-p2p/gift/files/giftd.in b/net-p2p/gift/files/giftd.in index 9d45474d8d10..6a2d822f0c7f 100644 --- a/net-p2p/gift/files/giftd.in +++ b/net-p2p/gift/files/giftd.in @@ -16,8 +16,8 @@ giftd_enable="${giftd_enable-NO}" giftd_flags="-d -q" -# giftd_user="" -# giftd_local_dir="" +# giftd_user +# giftd_local_dir . /etc/rc.subr diff --git a/net-p2p/i2p/files/i2p.sh.in b/net-p2p/i2p/files/i2p.sh.in index e3fd12fcbe2b..58161b0e8ca4 100644 --- a/net-p2p/i2p/files/i2p.sh.in +++ b/net-p2p/i2p/files/i2p.sh.in @@ -11,9 +11,8 @@ # # Add the following lines to /etc/rc.conf to enable i2p: # -#i2p_enable="YES" -#i2p_user="" -# +# i2p_enable="YES" +# i2p_user . /etc/rc.subr diff --git a/net-p2p/mldonkey/files/kill_mldonkey b/net-p2p/mldonkey/files/kill_mldonkey index 71c40bc1ac83..f3f8078045fc 100644 --- a/net-p2p/mldonkey/files/kill_mldonkey +++ b/net-p2p/mldonkey/files/kill_mldonkey @@ -34,7 +34,7 @@ # like this: # #MLNETUSER="admin" -#MLNETPASS="" +#MLNETPASS="pass" #MLNETHOST="127.0.0.1" #MLNETPORT="4080" diff --git a/net-p2p/mldonkey/files/mlnet.in b/net-p2p/mldonkey/files/mlnet.in index 2874c2b3c322..71a961417124 100644 --- a/net-p2p/mldonkey/files/mlnet.in +++ b/net-p2p/mldonkey/files/mlnet.in @@ -11,11 +11,10 @@ # # Add the following lines to /etc/rc.conf to enable mlnet: # -#mlnet_enable="YES" -#mlnet_user="" -#mlnet_flags="" -#mlnet_logfile="" -# +# mlnet_enable="YES" +# mlnet_user="user" +# mlnet_logfile="file" +# mlnet_flags (Set as needed) . /etc/rc.subr |