kexec-tools/kdump_dracut_modules/99kdumpbase/initqueue
2009-07-29 19:34:48 +00:00

13 lines
223 B
Bash
Executable File

#!/bin/sh
if [ "$1" = "--onetime" ]; then
onetime="yes"
shift
fi
echo "$@" > /tmp/$$.sh
if [ -n "$onetime" ]; then
echo '[ -e "$job" ] && rm "$job"' >> /tmp/$$.sh
fi
mv /tmp/$$.sh /initqueue/
>> /initqueue/work