Skip to content
This repository was archived by the owner on Dec 19, 2019. It is now read-only.

Commit 934b0ef

Browse files
committed
fix autostart problem
1 parent 47c4407 commit 934b0ef

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

shcd.sh

+3-1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ SHC_SHEDULER_PIDFILE=/var/run/shcd_sheduler.pid
1818
SHC_SWITCH_SERVER_PIDFILE=/var/run/shcd_switchserver.pid
1919
SHC_SENSOR_TRANSMITTER_PIDFILE=/var/run/shcd_sensor_transmitter.pid
2020

21+
/bin/sleep 20
22+
2123
do_start() {
2224
if [ -x /etc/rc.local ]; then
2325
[ "$VERBOSE" != no ] && log_begin_msg "Running local boot scripts (/etc/rc.local)"
@@ -57,4 +59,4 @@ case "$1" in
5759
echo "Usage: $0 start|stop" >&2
5860
exit 3
5961
;;
60-
esac
62+
esac

0 commit comments

Comments
 (0)