mirror of
https://github.com/gtxaspec/wz_mini_hacks.git
synced 2024-11-09 15:08:21 +00:00
S19video: wait for icamera before launching monitor
This commit is contained in:
parent
9b2c2d735b
commit
86b4f38429
@ -8,14 +8,20 @@
|
||||
. /opt/wz_mini/etc/rc.common
|
||||
. /opt/wz_mini/wz_mini.conf
|
||||
|
||||
delay_imp() {
|
||||
wait_for_icamera
|
||||
|
||||
echo "Starting imp_monitor.sh in daemon mode..."
|
||||
|
||||
/opt/wz_mini/usr/bin/imp_monitor.sh --daemon
|
||||
}
|
||||
|
||||
case "$1" in
|
||||
start)
|
||||
|
||||
echo "#####$(basename "$0")#####"
|
||||
|
||||
echo "Starting imp_monitor.sh in daemon mode..."
|
||||
|
||||
/opt/wz_mini/usr/bin/imp_monitor.sh --daemon
|
||||
delay_imp &
|
||||
|
||||
;;
|
||||
*)
|
||||
|
Loading…
Reference in New Issue
Block a user