mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 22:11:59 -09:00
Don't use long options to start-stop-daemon as they may be disabled in the busybox configuration
This commit is contained in:
@@ -27,12 +27,12 @@
|
||||
+
|
||||
+start() {
|
||||
+ echo -n "Starting dropbear sshd: "
|
||||
+ start-stop-daemon --start --quiet --pidfile /var/run/dropbear.pid --exec /usr/sbin/dropbear
|
||||
+ start-stop-daemon -S -q -p /var/run/dropbear.pid --exec /usr/sbin/dropbear
|
||||
+ echo "OK"
|
||||
+}
|
||||
+stop() {
|
||||
+ echo -n "Stopping sshd: "
|
||||
+ start-stop-daemon --stop --quiet --pidfile /var/run/dropbear.pid
|
||||
+ start-stop-daemon -K -q -p /var/run/dropbear.pid
|
||||
+ echo "OK"
|
||||
+}
|
||||
+restart() {
|
||||
|
||||
Reference in New Issue
Block a user