kiddin9 4 years ago
parent
commit
5005ca3c87
1 changed files with 2 additions and 0 deletions
  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