23 lines
246 B
Bash
23 lines
246 B
Bash
|
#!/bin/sh
|
||
|
|
||
|
|
||
|
while [ 1 ]
|
||
|
do
|
||
|
if [ ! -e /tmpfs/ipcam.pid ]
|
||
|
then
|
||
|
sleep 3
|
||
|
else
|
||
|
sleep 15
|
||
|
break
|
||
|
fi
|
||
|
done
|
||
|
|
||
|
for initscript in /bin/vs/autostartup/after/*
|
||
|
do
|
||
|
if [ -x $initscript ] ;
|
||
|
then
|
||
|
echo "[RCS]: $initscript"
|
||
|
$initscript &
|
||
|
fi
|
||
|
done
|