luci-mod-system: mounts.js: preload fstab uci
Preload the uci configuration on page load to avoid accidential double
rendering of the globals section and mount overview table.
Fixes: e39ab8725
("luci-mod-system: mounts.js: implicitely create globals section")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
This commit is contained in:
parent
e39ab87255
commit
4518f8f342
1 changed files with 2 additions and 1 deletions
|
@ -137,7 +137,8 @@ return L.view.extend({
|
|||
callFileStat('/usr/sbin/e2fsck'),
|
||||
callFileStat('/usr/sbin/fsck.f2fs'),
|
||||
callFileStat('/usr/sbin/dosfsck'),
|
||||
callFileStat('/usr/bin/btrfsck')
|
||||
callFileStat('/usr/bin/btrfsck'),
|
||||
uci.load('fstab')
|
||||
]);
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in a new issue