mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-24 09:52:58 +02:00
wsdd: Create the chroot directory only on start
Signed-off-by: Daniel Weismüller <daniel.weismueller@ipfire.org>
This commit is contained in:
committed by
Daniel Weismüller
parent
06c2bfa3c4
commit
bf3f602e05
@@ -24,9 +24,6 @@
|
||||
|
||||
eval $(/usr/local/bin/readhash /var/ipfire/ethernet/settings)
|
||||
|
||||
# Create chroot directory for wsdd
|
||||
mkdir -p /var/run/wsdd
|
||||
|
||||
PIDFILE="/var/run/wsdd.pid"
|
||||
|
||||
case "$1" in
|
||||
@@ -52,6 +49,9 @@ case "$1" in
|
||||
fi
|
||||
done
|
||||
|
||||
# Create chroot directory for wsdd
|
||||
mkdir -p /var/run/wsdd
|
||||
|
||||
boot_mesg "Starting wsdd daemon..."
|
||||
loadproc -b -p "${PIDFILE}" /usr/bin/wsdd "${ARGS[@]}"
|
||||
;;
|
||||
|
||||
Reference in New Issue
Block a user