summaryrefslogtreecommitdiffhomepage
path: root/modules/admin-full/luasrc/model/cbi
diff options
context:
space:
mode:
Diffstat (limited to 'modules/admin-full/luasrc/model/cbi')
-rw-r--r--modules/admin-full/luasrc/model/cbi/admin_system/fstab/mount.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/admin-full/luasrc/model/cbi/admin_system/fstab/mount.lua b/modules/admin-full/luasrc/model/cbi/admin_system/fstab/mount.lua
index bb58cca003..bac886888a 100644
--- a/modules/admin-full/luasrc/model/cbi/admin_system/fstab/mount.lua
+++ b/modules/admin-full/luasrc/model/cbi/admin_system/fstab/mount.lua
@@ -15,8 +15,8 @@ $Id$
local fs = require "nixio.fs"
local util = require "nixio.util"
-local has_extroot = fs.access("/lib/preinit/00_extroot.conf")
-local has_fscheck = fs.access("/lib/functions/fsck.sh")
+local has_extroot = fs.access("/sbin/block")
+local has_fscheck = fs.access("/usr/sbin/e2fsck")
local devices = {}
util.consume((fs.glob("/dev/sd*")), devices)