Browse Source

Update default-settings

kiddin9 4 years ago
parent
commit
556db242a7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      devices/common/default-settings

+ 1 - 1
devices/common/default-settings

@@ -30,7 +30,7 @@ echo $(uci -q get uhttpd.main.index_page) | grep -q "cgi-bin/luci" ||
 sed -i "s/git-.*-\(.*\)/git-\1/g" /usr/lib/lua/luci/version.lua
 
 sed -i '/S99opkg/d' /etc/crontabs/root
-hour="$(grep -m1 -ao '[5-7]' /dev/urandom | head -n1)"
+hour="$(grep -m1 -ao '[4-6]' /dev/urandom | head -n1)"
 min="$(grep -m1 -ao '[0-5][0-9]' /dev/urandom | head -n1)"
 echo "$min $hour * * * sh /etc/rc.d/S99opkg >/dev/null 2>&1" >> /etc/crontabs/root