mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-10-01 06:21:56 -09:00
package/irqbalance: fix sysv startup script (add mkdir /run/irqbalance)
- add mkdir -p /run/irqbalance to sysv startup script needed to create socket /run/irqbalance/irqbalance<pid>.sock Fixes: - Bug 13541 [1] daemon.warn /usr/sbin/irqbalance: Daemon couldn't be bound to the file-based socket. [1] https://bugs.busybox.net/show_bug.cgi?id=13541 Reported-by: Alfredo Pons Menargues <alfredo.pons@gmail.com> Signed-off-by: Peter Seiderer <ps.report@gmx.net> [yann.morin.1998@free.fr: only create in start case] Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
committed by
Yann E. MORIN
parent
60518c1d76
commit
4a95f38f30
@@ -10,6 +10,8 @@ PID="/var/run/irqbalance.pid"
|
|||||||
case "$1" in
|
case "$1" in
|
||||||
start)
|
start)
|
||||||
printf "Starting irqbalance: "
|
printf "Starting irqbalance: "
|
||||||
|
# for irqbalance socket /run/irqbalance/irqbalance<pid>.sock
|
||||||
|
mkdir -p /run/irqbalance
|
||||||
start-stop-daemon -S -q -x $EXEC -- $ARGS
|
start-stop-daemon -S -q -x $EXEC -- $ARGS
|
||||||
if [ $? != 0 ]; then
|
if [ $? != 0 ]; then
|
||||||
echo "FAILED"
|
echo "FAILED"
|
||||||
|
|||||||
Reference in New Issue
Block a user