3 debian_version="bookworm"
4 legal_system_names="x220 w530"
6 if [ "$#" -ne 1 ]; then
7 echo 'Need exactly one argument (system name).'
11 for system_name_i in $legal_system_names; do
12 if [ "$1" = "$system_name_i" ]; then
14 system_name="${system_name_i}"
18 if [ "$found" = 0 ]; then
19 echo "Need legal system name."
23 # Set up system without user environment.
24 config_tree_prefix="${HOME}/config/${debian_version}"
25 setup_scripts_dir="${config_tree_prefix}/setup_scripts"
26 cd "${setup_scripts_dir}"
27 ./setup.sh "${system_name}" "" user desktop thinkpad "${system_name}"