From: Felix Fietkau Date: Mon, 16 Dec 2024 12:42:04 +0000 (+0100) Subject: unet-cli: confirm password when creating new seed based key X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=074d3659ca4a8dcef278e7017887d33e2be091cf;p=project%2Funetd.git unet-cli: confirm password when creating new seed based key Signed-off-by: Felix Fietkau --- diff --git a/scripts/unet-cli b/scripts/unet-cli index 5efd570..bae0965 100755 --- a/scripts/unet-cli +++ b/scripts/unet-cli @@ -430,7 +430,7 @@ case 'set-config': } if (!net_data.config.id) { - net_data.config.id = trim(popen(`unet-tool -P ${key_arg(file, net_data)}`).read("all")); + net_data.config.id = trim(popen(`unet-tool -P -p ${key_arg(file, net_data)}`).read("all")); if (!net_data.config.id) exit(1); }