1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-02-15 03:51:51 +00:00

Check FS before mount by default

This commit is contained in:
Ycarus (Yannick Chabanois) 2020-11-07 18:58:10 +01:00 committed by suyuan
parent f979ebc643
commit 566ae2d4b6

View file

@ -8,6 +8,8 @@ uci -q batch <<-EOF >/dev/null
commit rpcd commit rpcd
luci.apply.timeout='20' luci.apply.timeout='20'
commit luci commit luci
fstab.@global[0].check_fs='1'
commit fstab
EOF EOF
[ -n "$(ubus call system board | jsonfilter -e '@.board_name' | grep raspberry)" ] && [ "$(uci -q get openmptcprouter.settings.scaling_governor)" != "performance" ] && { [ -n "$(ubus call system board | jsonfilter -e '@.board_name' | grep raspberry)" ] && [ "$(uci -q get openmptcprouter.settings.scaling_governor)" != "performance" ] && {