aboutsummaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorMike Makonnen <mtm@FreeBSD.org>2004-07-27 16:59:35 +0000
committerMike Makonnen <mtm@FreeBSD.org>2004-07-27 16:59:35 +0000
commitc6cb9d2e4bb051da8898636fd178174483fabe5b (patch)
tree551b8cc76e587dc21d7188d6ad0e93639cabe8ba /etc
parent1a8cfbc45096bb34daeddc44ba75ff8377e9e5c8 (diff)
downloadsrc-c6cb9d2e4bb051da8898636fd178174483fabe5b.tar.gz
src-c6cb9d2e4bb051da8898636fd178174483fabe5b.zip
Even though binaries will give 0 matches, make it explicit.
Notes
Notes: svn path=/head/; revision=132701
Diffstat (limited to 'etc')
-rw-r--r--etc/rc.d/localpkg2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/rc.d/localpkg b/etc/rc.d/localpkg
index 9ddd3837c767..257743e991fe 100644
--- a/etc/rc.d/localpkg
+++ b/etc/rc.d/localpkg
@@ -23,7 +23,7 @@ script_is_rcd()
_s="$1"
[ -z "$_s" ] && return 1
- match=`grep -c -m1 '^# PROVIDE:' "$_s" 2> /dev/null`
+ match=`grep -I -c -m1 '^# PROVIDE:' "$_s" 2> /dev/null`
[ "$match" = "1" ] && return 0
return 1
}