kiddin9 %!s(int64=4) %!d(string=hai) anos
pai
achega
5005ca3c87
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      devices/common/default-settings

+ 2 - 0
devices/common/default-settings

@@ -1,5 +1,7 @@
 #!/bin/sh
 
+[[ "$(df | grep overlay)" && ! "$(df | grep /rom/overlay)" ]] && firstboot
+
 version=`uci get base_config.@status[0].version 2>/dev/null`
 
 . /etc/openwrt_release