Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/etc/rc.d fix an obvious typo in directory check



details:   https://anonhg.NetBSD.org/src/rev/b793b8ed7bf2
branches:  trunk
changeset: 751066:b793b8ed7bf2
user:      drochner <drochner%NetBSD.org@localhost>
date:      Sat Jan 23 17:44:44 2010 +0000

description:
fix an obvious typo in directory check

diffstat:

 etc/rc.d/mdnsd |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (20 lines):

diff -r eca6699b5b3d -r b793b8ed7bf2 etc/rc.d/mdnsd
--- a/etc/rc.d/mdnsd    Sat Jan 23 17:22:04 2010 +0000
+++ b/etc/rc.d/mdnsd    Sat Jan 23 17:44:44 2010 +0000
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-# $NetBSD: mdnsd,v 1.1 2009/09/29 23:56:27 tsarna Exp $
+# $NetBSD: mdnsd,v 1.2 2010/01/23 17:44:44 drochner Exp $
 #
 
 # PROVIDE: mdnsd
@@ -16,7 +16,7 @@
 
 mdnsd_precmd()
 {
-    if [ ! -d /var/run/mdns ]; then
+    if [ ! -d /var/run/mdnsd ]; then
         mkdir -p -m 755 /var/run/mdnsd
     fi
     chown _mdnsd:_mdnsd /var/run/mdnsd



Home | Main Index | Thread Index | Old Index