19-define-os-ip #24
16
setup.sh
16
setup.sh
@ -68,7 +68,7 @@ function setup_env_vars () {
|
|||||||
echo '----------------------------------------'
|
echo '----------------------------------------'
|
||||||
echo
|
echo
|
||||||
|
|
||||||
echo "Do you want compressed datasets?"
|
echo 'Do you want compressed datasets?'
|
||||||
select arg_compressed in "Compressed" "Uncompressed"; do
|
select arg_compressed in "Compressed" "Uncompressed"; do
|
||||||
case "${arg_compressed}" in
|
case "${arg_compressed}" in
|
||||||
Compressed)
|
Compressed)
|
||||||
@ -81,7 +81,7 @@ function setup_env_vars () {
|
|||||||
esac
|
esac
|
||||||
done <&3 && echo
|
done <&3 && echo
|
||||||
|
|
||||||
echo "Do you want encrypted datasets?"
|
echo 'Do you want encrypted datasets?'
|
||||||
select arg_encrypted in "Encrypted" "Unencrypted"; do
|
select arg_encrypted in "Encrypted" "Unencrypted"; do
|
||||||
case "${arg_encrypted}" in
|
case "${arg_encrypted}" in
|
||||||
Encrypted)
|
Encrypted)
|
||||||
@ -95,7 +95,7 @@ function setup_env_vars () {
|
|||||||
done <&3 && echo
|
done <&3 && echo
|
||||||
|
|
||||||
if [[ "${arg_encrypted}" = 'Encrypted' ]]; then
|
if [[ "${arg_encrypted}" = 'Encrypted' ]]; then
|
||||||
echo "Do you want a custom dataset decryption password?"
|
echo 'Do you want a custom dataset decryption password?'
|
||||||
select arg_custom_dataset_pw in "Yes" "No"; do
|
select arg_custom_dataset_pw in "Yes" "No"; do
|
||||||
case "${arg_custom_dataset_pw}" in
|
case "${arg_custom_dataset_pw}" in
|
||||||
Yes)
|
Yes)
|
||||||
@ -115,7 +115,7 @@ function setup_env_vars () {
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Do you want a custom 'root' user password?"
|
echo 'Do you want a custom '"'"'root'"'"' user password?'
|
||||||
select arg_custom_root_pw in "Yes" "No"; do
|
select arg_custom_root_pw in "Yes" "No"; do
|
||||||
case "${arg_custom_root_pw}" in
|
case "${arg_custom_root_pw}" in
|
||||||
Yes)
|
Yes)
|
||||||
@ -134,7 +134,7 @@ function setup_env_vars () {
|
|||||||
echo
|
echo
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Do you want an SSH daemon in ZFSBootMenu?"
|
echo 'Do you want an SSH daemon in ZFSBootMenu?'
|
||||||
select arg_ssh_in_zbm in "Yes" "No"; do
|
select arg_ssh_in_zbm in "Yes" "No"; do
|
||||||
case "${arg_ssh_in_zbm}" in
|
case "${arg_ssh_in_zbm}" in
|
||||||
Yes)
|
Yes)
|
||||||
@ -148,7 +148,7 @@ function setup_env_vars () {
|
|||||||
done <&3 && echo
|
done <&3 && echo
|
||||||
|
|
||||||
if [[ "${want_ssh_in_zbm}" ]]; then
|
if [[ "${want_ssh_in_zbm}" ]]; then
|
||||||
echo "How do you want to assign an IP address in ZFSBootMenu?"
|
echo 'How do you want to assign an IP address in ZFSBootMenu?'
|
||||||
select arg_ip_autoconf_method in "Statically" "Dynamically, DHCP" "Dynamically, BOOTP" "Dynamically, RARP"; do
|
select arg_ip_autoconf_method in "Statically" "Dynamically, DHCP" "Dynamically, BOOTP" "Dynamically, RARP"; do
|
||||||
case "${arg_ip_autoconf_method}" in
|
case "${arg_ip_autoconf_method}" in
|
||||||
'Statically')
|
'Statically')
|
||||||
@ -184,7 +184,7 @@ function setup_env_vars () {
|
|||||||
echo
|
echo
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Do you want a custom SSH listening port?"
|
echo 'Do you want a custom SSH listening port?'
|
||||||
select arg_custom_ssh_port in "Yes (let me specify)" "No (keep port 22)"; do
|
select arg_custom_ssh_port in "Yes (let me specify)" "No (keep port 22)"; do
|
||||||
case "${arg_custom_ssh_port}" in
|
case "${arg_custom_ssh_port}" in
|
||||||
'Yes (let me specify)')
|
'Yes (let me specify)')
|
||||||
@ -202,7 +202,7 @@ function setup_env_vars () {
|
|||||||
echo
|
echo
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Do you want the SSH daemon to use a custom keepalive send interval?"
|
echo 'Do you want the SSH daemon to use a custom keepalive send interval?'
|
||||||
select arg_custom_ssh_keepalive_intvl in "Yes (let me specify)" "No (keep 1)"; do
|
select arg_custom_ssh_keepalive_intvl in "Yes (let me specify)" "No (keep 1)"; do
|
||||||
case "${arg_custom_ssh_keepalive_intvl}" in
|
case "${arg_custom_ssh_keepalive_intvl}" in
|
||||||
'Yes (let me specify)')
|
'Yes (let me specify)')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user