autocore: sync with upstream
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
This commit is contained in:
parent
285bb05ca3
commit
bf406023f9
@ -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)
|
||||
|
||||
@ -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)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user