echo 'Need exactly one argument (system name).'
false
fi
-if [ ! "$1" = "eeepc" ] && [ ! "$1" = "x200s" ]; then
+if [ ! "$1" = "eeepc" ] && [ ! "$1" = "x200s" ] && [ ! "$1" = "x220" ] && [ ! "$1" = "w530" ]; then
echo "Need legal system name."
false
fi
config_tree_prefix="${HOME}/config/buster"
setup_scripts_dir="${config_tree_prefix}/setup_scripts"
cd "${setup_scripts_dir}"
-./setup.sh "${system_name}" "" user desktop "${system_name}"
-./copy_dirtree.sh "${config_tree_prefix}/etc_files" "" user desktop "${system_name}"
-./install_for_target.sh user desktop "${system_name}"
-
+if [ "$1" = "x200s" ] || [ "$1" = "x220" ] || [ "$1" = "w530" ]; then
+ ./setup.sh "${system_name}" "" user desktop thinkpad "${system_name}"
+else
+ ./setup.sh "${system_name}" "" user desktop "${system_name}"
+fi
# For hibernation on lid switch to work, we need a newer kernel on the EeePC,
# see <https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=919227>.
if [ "${system_name}" = "eeepc" ]; then