aboutsummaryrefslogtreecommitdiffstats
path: root/net/quagga
diff options
context:
space:
mode:
authordougb <dougb@FreeBSD.org>2011-05-15 10:49:17 +0800
committerdougb <dougb@FreeBSD.org>2011-05-15 10:49:17 +0800
commitd4eae248fc3499866ff557806dc95e19f9c41643 (patch)
tree41e2f7bdfeea9edb4e6eedfd70e9de4929e5ef02 /net/quagga
parentc6b86ccb25cd0028406167283ff431a3267900fc (diff)
downloadfreebsd-ports-gnome-d4eae248fc3499866ff557806dc95e19f9c41643.tar.gz
freebsd-ports-gnome-d4eae248fc3499866ff557806dc95e19f9c41643.tar.zst
freebsd-ports-gnome-d4eae248fc3499866ff557806dc95e19f9c41643.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
Diffstat (limited to 'net/quagga')
-rw-r--r--net/quagga/files/quagga.sh.in5
-rw-r--r--net/quagga/files/watchquagga.sh.in8
2 files changed, 6 insertions, 7 deletions
diff --git a/net/quagga/files/quagga.sh.in b/net/quagga/files/quagga.sh.in
index 7e6cc3de2350..ceb71b62d1b2 100644
--- a/net/quagga/files/quagga.sh.in
+++ b/net/quagga/files/quagga.sh.in
@@ -1,6 +1,7 @@
#!/bin/sh
-#
+# $FreeBSD$
+#
# PROVIDE: quagga
# REQUIRE: netif routing
# KEYWORD: nojail
@@ -81,8 +82,6 @@ load_rc_config $name
: ${quagga_enable="NO"}
: ${quagga_flags="-d"}
: ${quagga_daemons="zebra ripd ripngd ospfd ospf6d bgpd isisd"}
-: ${quagga_extralibs_path=""}
-: ${quagga_wait_for=""}
quagga_cmd=$1
diff --git a/net/quagga/files/watchquagga.sh.in b/net/quagga/files/watchquagga.sh.in
index d8b04e06fc92..cb0d1bf1e751 100644
--- a/net/quagga/files/watchquagga.sh.in
+++ b/net/quagga/files/watchquagga.sh.in
@@ -1,15 +1,15 @@
#!/bin/sh
-#
+# $FreeBSD$
+#
# PROVIDE: watchquagga
# REQUIRE: NETWORKING quagga
-
#
# Add the following line to /etc/rc.conf to enable quagga:
-#watchquagga_enable="YES"
+# watchquagga_enable="YES"
#
# You may also wish to use the following variables to fine-tune startup:
-#watchquagga_flags=""
+# watchquagga_flags
#
#