summaryrefslogtreecommitdiff
path: root/sysutils/dbus/files/dbus.sh
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/dbus/files/dbus.sh')
-rw-r--r--sysutils/dbus/files/dbus.sh14
1 files changed, 7 insertions, 7 deletions
diff --git a/sysutils/dbus/files/dbus.sh b/sysutils/dbus/files/dbus.sh
index 77de76013bd..928841a56df 100644
--- a/sysutils/dbus/files/dbus.sh
+++ b/sysutils/dbus/files/dbus.sh
@@ -1,6 +1,6 @@
#!@RCD_SCRIPTS_SHELL@
#
-# $NetBSD: dbus.sh,v 1.7 2006/12/15 19:06:00 drochner Exp $
+# $NetBSD: dbus.sh,v 1.8 2008/09/24 11:37:31 taca Exp $
#
# PROVIDE: dbus
# REQUIRE: DAEMON
@@ -16,12 +16,12 @@ pidfile="@VARBASE@/run/dbus/pid"
start_precmd=dbus_prestart
dbus_prestart() {
- for f in "@VARBASE@/lib/dbus" "@VARBASE@/run/dbus"; do
- if @TEST@ ! -d $f; then
- @MKDIR@ $f
- @CHMOD@ 0755 $f
- @CHOWN@ @DBUS_USER@:@DBUS_GROUP@ $f
- fi
+ dir="@VARBASE@/run/dbus"
+ if @TEST@ ! -d $dir; then
+ @MKDIR@ $dir
+ @CHMOD@ 0755 $dir
+ @CHOWN@ @DBUS_USER@:@DBUS_GROUP@ $dir
+ fi
done
@PREFIX@/bin/dbus-uuidgen --ensure
}