dns/list
This commit is contained in:
parent
31e2875965
commit
f33bc6bbab
1 changed files with 10 additions and 0 deletions
|
@ -202,6 +202,15 @@ _spcd_txt_pick() {
|
||||||
spcd_dns() {
|
spcd_dns() {
|
||||||
local index name value
|
local index name value
|
||||||
case "${1}" in
|
case "${1}" in
|
||||||
|
"list")
|
||||||
|
while true; do
|
||||||
|
index=$((index + 1))
|
||||||
|
name="SPCD_DNS_${index}"
|
||||||
|
eval "value=\"\${name}\""
|
||||||
|
[ -n "${value}" ] || break
|
||||||
|
echo "${name} = \"${value}\""
|
||||||
|
done
|
||||||
|
;;
|
||||||
"write")
|
"write")
|
||||||
local text
|
local text
|
||||||
while true; do
|
while true; do
|
||||||
|
@ -454,6 +463,7 @@ SPCD_PM_ZYPPER="zypper"
|
||||||
# ╰──────┴─────────────╯
|
# ╰──────┴─────────────╯
|
||||||
|
|
||||||
spcd_step__environment_defaults_print() {
|
spcd_step__environment_defaults_print() {
|
||||||
|
spcd_dns "list"
|
||||||
set -- \
|
set -- \
|
||||||
\
|
\
|
||||||
\
|
\
|
||||||
|
|
Loading…
Reference in a new issue