diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2013-07-09 09:33:22 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2013-07-09 09:33:22 +0000 |
commit | 46c61acd06b3c54f3d98fa809e4b9450bae04975 (patch) | |
tree | f4b4590ee8e288cee3ce70449893baa8229ac680 | |
parent | cd04b1541d7a839a3dfbc15af79f134c12601c3e (diff) |
modules/admin-full: fix extroot and fsck availability check (https://dev.openwrt.org/ticket/13837)
-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) |