X-Git-Url: https://plomlompom.com/repos/?a=blobdiff_plain;f=bookworm%2Fsetup_scripts%2Fsetup.sh;h=0c28d60c5659169bed9e4866ec8f97e0a218bdc3;hb=b2689a62b11cf9a4423ac51af582a12a17a781a0;hp=b64080c3b5315f73aa500d013e43447f8e49ff4a;hpb=c23514e257843acb215e435b2da06a24c11f39dd;p=config diff --git a/bookworm/setup_scripts/setup.sh b/bookworm/setup_scripts/setup.sh index b64080c..0c28d60 100755 --- a/bookworm/setup_scripts/setup.sh +++ b/bookworm/setup_scripts/setup.sh @@ -1,13 +1,8 @@ #!/bin/sh set -e -debian_version="bookworm" . ./misc.sh -# Provide maximum input for set_hostname_and_fqdn.sh. -if [ "$#" -lt 2 ]; then - echo 'Need at least two arguments (hostname, FQDN).' - false -fi +expect_n_args 2 "(hostname, FQDN)" "$@" hostname="$1" fqdn="$2" shift 2