diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/admin-full/luasrc/model/cbi/admin_system/fstab/mount.lua | 4 |
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 bb58cca00..bac886888 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) |