blob: f6c1d9de082f94f6769c9bbfcf561bae357cd0ac (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
SHUTDOWN_CHECK_PROGRAMS="emerge make gcc cc1 transcode vcdimager mencoder tosvcd lame vdrsync.pl tcmplex"
SHUTDOWN_CHECK_PROGRAMS="${SHUTDOWN_CHECK_PROGRAMS} tcmplex-panteltje vdr2ac3.sh dvdauthor mkisofs"
SHUTDOWN_CHECK_PROGRAMS="${SHUTDOWN_CHECK_PROGRAMS} growisofs cdrdao cdrecord"
for PROG in ${SHUTDOWN_CHECK_PROGRAMS} ${SHUTDOWN_CHECK_ADDITIONAL_PROGRAMS}; do
if pidof -x ${PROG} >/dev/null; then
# stop shutdown
shutdown_abort_can_force "${PROG} is running"
break
fi
done
|