From bf406023f9f404dca7adf7dde3a3364ecdeeeb53 Mon Sep 17 00:00:00 2001 From: CN_SZTL Date: Sat, 23 Jan 2021 22:49:18 +0800 Subject: [PATCH] autocore: sync with upstream Signed-off-by: CN_SZTL --- package/lean/autocore/files/arm/rpcd_luci | 2 +- package/lean/autocore/files/x86/rpcd_luci | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/lean/autocore/files/arm/rpcd_luci b/package/lean/autocore/files/arm/rpcd_luci index e4117e85ad..1bbcfa8302 100755 --- a/package/lean/autocore/files/arm/rpcd_luci +++ b/package/lean/autocore/files/arm/rpcd_luci @@ -441,7 +441,7 @@ local methods = { call = function(args) local util = require "luci.util" return { - result = (os.execute("(echo %s; sleep 1; echo %s) | passwd %s >/dev/null 2>&1" %{ + result = (os.execute("(echo %s; sleep 1; echo %s) | busybox passwd %s >/dev/null 2>&1" %{ luci.util.shellquote(args.password), luci.util.shellquote(args.password), luci.util.shellquote(args.username) diff --git a/package/lean/autocore/files/x86/rpcd_luci b/package/lean/autocore/files/x86/rpcd_luci index 697f237ff1..a906a62379 100755 --- a/package/lean/autocore/files/x86/rpcd_luci +++ b/package/lean/autocore/files/x86/rpcd_luci @@ -441,7 +441,7 @@ local methods = { call = function(args) local util = require "luci.util" return { - result = (os.execute("(echo %s; sleep 1; echo %s) | passwd %s >/dev/null 2>&1" %{ + result = (os.execute("(echo %s; sleep 1; echo %s) | busybox passwd %s >/dev/null 2>&1" %{ luci.util.shellquote(args.password), luci.util.shellquote(args.password), luci.util.shellquote(args.username)