From 46c61acd06b3c54f3d98fa809e4b9450bae04975 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Tue, 9 Jul 2013 09:33:22 +0000 Subject: modules/admin-full: fix extroot and fsck availability check (https://dev.openwrt.org/ticket/13837) --- modules/admin-full/luasrc/model/cbi/admin_system/fstab/mount.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/admin-full/luasrc/model/cbi') 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) -- cgit v1.2.3