scripts/reboot.sh
2022-06-12 20:20:52 +03:00

6 lines
145 B
Bash

#!/usr/bin/env bash
dt=$(date +'%d/%m/%y-%H.%M.%S')
echo "[$dt] navi restarting..." >> $HOME/navi.log
$HOME/scripts/modeset.py --shutdown
reboot