home
·
contact
·
privacy
projects
/
config
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Improve w530 bookworm setup.
[config]
/
bookworm
/
setup_scripts
/
setup.sh
diff --git
a/bookworm/setup_scripts/setup.sh
b/bookworm/setup_scripts/setup.sh
index b64080c3b5315f73aa500d013e43447f8e49ff4a..0502de7e39d82f052aad9a8950293f71408512d5 100755
(executable)
--- a/
bookworm/setup_scripts/setup.sh
+++ b/
bookworm/setup_scripts/setup.sh
@@
-3,11
+3,7
@@
set -e
debian_version="bookworm"
. ./misc.sh
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
hostname="$1"
fqdn="$2"
shift 2