modules/admin-full: fix extroot and fsck availability check (https://dev.openwrt.org/ticket/13837)
This commit is contained in:
parent
cd04b1541d
commit
46c61acd06
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue