From 5ce16764ad3212367547555dbbfe9c5f4f221118 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Thu, 31 Oct 2019 16:25:49 +0100 Subject: luci-base, luci-mod-system: replace luci/setUmount with fs.exec calls Signed-off-by: Jo-Philipp Wich --- modules/luci-base/root/usr/libexec/rpcd/luci | 8 -------- 1 file changed, 8 deletions(-) (limited to 'modules/luci-base/root/usr/libexec/rpcd') diff --git a/modules/luci-base/root/usr/libexec/rpcd/luci b/modules/luci-base/root/usr/libexec/rpcd/luci index f200ee5f4f..2601512da6 100755 --- a/modules/luci-base/root/usr/libexec/rpcd/luci +++ b/modules/luci-base/root/usr/libexec/rpcd/luci @@ -516,14 +516,6 @@ local methods = { return { error = err } end end - }, - - setUmount = { - args = { path = "/mnt" }, - call = function(args) - local util = require "luci.util" - return { result = (os.execute(string.format("/bin/umount %s", util.shellquote(args.path))) == 0) } - end } } -- cgit v1.2.3