Skip to content

Commit

Permalink
wait for sync before rebooting!
Browse files Browse the repository at this point in the history
so tired
  • Loading branch information
Shaun Inman committed Jun 11, 2022
1 parent 8774d93 commit cbcfe28
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions skeleton/.system/bin/shutdown
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#!/bin/sh

echo `date +'%F %T'` > "$DATETIME_PATH"
sync
reboot
sleep 10
sync && reboot && sleep 10

0 comments on commit cbcfe28

Please sign in to comment.