mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-08-06 18:07:43 +00:00
Check if STK1002 init scripts are executable before running
This commit is contained in:
parent
1120408d61
commit
94cff5a265
@ -1,7 +1,9 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
for s in /etc/init.d/S*; do
|
for s in /etc/init.d/S*; do
|
||||||
$s start
|
if [ -x $s ]; then
|
||||||
|
$s start
|
||||||
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
echo
|
echo
|
||||||
|
Loading…
x
Reference in New Issue
Block a user