Skip to content

Commit

Permalink
up week 7
Browse files Browse the repository at this point in the history
  • Loading branch information
sirpdboy authored Aug 30, 2022
1 parent f5d1c71 commit 0b6f0b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions root/etc/init.d/autotimeset
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ run_autotimeset()
config_get week $1 week
config_get minute $1 minute
config_get hour $1 hour
[ "$minute" -eq 0 ] && minute="00"
[ "$week" -eq 7 ] && week="*"
[ $minute -eq 0 ] && minute="00"
[ $week = 7 || $week = '7' ] && week='*'

if [ $stype = 1 ] ; then
local cmd="$minute $hour * * $week sleep 5 && touch /etc/banner && reboot"
Expand Down

0 comments on commit 0b6f0b4

Please sign in to comment.