Skip to content

Commit

Permalink
Update autotimeset
Browse files Browse the repository at this point in the history
  • Loading branch information
rq1025330 authored Sep 1, 2022
1 parent a8baaf7 commit 736d0b6
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions root/etc/init.d/autotimeset
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ run_autotimeset()
config_get week $1 week
config_get minute $1 minute
config_get hour $1 hour
[ $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 736d0b6

Please sign in to comment.