It will be very useful to automatically shutdown a raspberry after a period of inactivity.
Sthg along these lines:
Code: Select all
#!/bin/bash
/usr/bin/gimx ......
if [ $? -eq 75 ]
then
halt
fi
exit $?
Code: Select all
#!/bin/bash
/usr/bin/gimx ......
if [ $? -eq 75 ]
then
halt
fi
exit $?