RT-IPC_camera/bin/vslocal/autostartup/before_startup.sh

22 lines
340 B
Bash

#!/bin/sh
####阻塞执行
for initscript in /bin/vs/autostartup/before/*
do
if [ -x $initscript -a ! -d $initscript ] ;
then
echo "[RCS]: $initscript"
$initscript
fi
done
####非阻塞执行
for initscript in /bin/vs/autostartup/before/back/*
do
if [ -x $initscript ] ;
then
echo "[RCS]: $initscript"
$initscript &
fi
done