summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-base/root/usr/libexec/rpcd
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2019-10-31 16:25:49 +0100
committerJo-Philipp Wich <jo@mein.io>2019-11-01 12:03:33 +0100
commit5ce16764ad3212367547555dbbfe9c5f4f221118 (patch)
tree3218177ddadb8f823a12a2fbd60d392ff48346d7 /modules/luci-base/root/usr/libexec/rpcd
parentc67d2ddc2ce34bb2d985b3864706d2cf49e65b6c (diff)
luci-base, luci-mod-system: replace luci/setUmount with fs.exec calls
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'modules/luci-base/root/usr/libexec/rpcd')
-rwxr-xr-xmodules/luci-base/root/usr/libexec/rpcd/luci8
1 files changed, 0 insertions, 8 deletions
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
}
}