[1/3] dbus: Add reload to initscript
Commit Message
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
---
lfs/dbus | 2 +-
src/initscripts/packages/messagebus | 7 ++++++-
2 files changed, 7 insertions(+), 2 deletions(-)
@@ -32,7 +32,7 @@ DL_FROM = $(URL_IPFIRE)
DIR_APP = $(DIR_SRC)/$(THISAPP)
TARGET = $(DIR_INFO)/$(THISAPP)
PROG = dbus
-PAK_VER = 3
+PAK_VER = 4
DEPS =
@@ -32,7 +32,12 @@ case "$1" in
$0 start
;;
- status)
+ reload)
+ boot_mesg "Reloading the D-Bus Messagebus Daemon..."
+ reloadproc /usr/bin/dbus-daemon
+ ;;
+
+ status)
statusproc -p $pidfile /usr/bin/dbus-daemon
;;