1 2 3 4 5 6 7 8 9 10 11
#!/bin/sh cd /x2/temp while true do if [ -f newpic ]; then killall xli rm -f newpic xli output.ppm & fi sleep 24h done