8 lines
134 B
Text
8 lines
134 B
Text
|
#!/bin/bash
|
||
|
set -eu
|
||
|
|
||
|
var="$1"
|
||
|
shift
|
||
|
|
||
|
exec env ${var}=$(systemd-ask-password --accept-cached --keyname="pwenv.${var}" "${var}: ") "$@"
|