- Add wsdd as a dependency to samba so it will be installed together with samba - Add the starting and stopping of wsdd into the samba initscript
Tested-by: Adolf Belka adolf.belka@ipfire.org Signed-off-by: Adolf Belka adolf.belka@ipfire.org --- lfs/samba | 4 ++-- src/initscripts/packages/samba | 6 +++++- 2 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/lfs/samba b/lfs/samba index 76088abfa..df7811313 100644 --- a/lfs/samba +++ b/lfs/samba @@ -33,9 +33,9 @@ DL_FROM = $(URL_IPFIRE) DIR_APP = $(DIR_SRC)/$(THISAPP) TARGET = $(DIR_INFO)/$(THISAPP) PROG = samba -PAK_VER = 99 +PAK_VER = 100
-DEPS = avahi cups perl-Parse-Yapp perl-JSON +DEPS = avahi cups perl-Parse-Yapp perl-JSON wsdd
SERVICES = samba
diff --git a/src/initscripts/packages/samba b/src/initscripts/packages/samba index 93f14cd29..99b9929cf 100644 --- a/src/initscripts/packages/samba +++ b/src/initscripts/packages/samba @@ -42,6 +42,8 @@ case "$1" in
boot_mesg "Starting winbind..." loadproc /usr/sbin/winbindd + + /etc/rc.d/init.d/wsdd start ;;
stop) @@ -53,7 +55,9 @@ case "$1" in
boot_mesg "Stopping winbind..." killproc /usr/sbin/winbindd - ;; + + /etc/rc.d/init.d/wsdd stop + ;;
reload) boot_mesg "Reloading smbd..."