4 if [ "$#" -ne 1 ]; then
5 echo 'Need exactly one argument (hostname).'
10 config_tree_prefix="${HOME}/config/buster"
11 setup_scripts_dir="${config_tree_prefix}/setup_scripts"
12 cd "${setup_scripts_dir}"
13 ./setup.sh "${hostname}" ""
14 ./copy_dirtree.sh "${config_tree_prefix}/etc_files" "" eeepc
15 ./install_for_target.sh eeepc
17 if [ ! -d "/home/plom" ]; then
18 adduser --disabled-password --gecos "" plom
19 usermod -a -G sudo plom
20 su -c "cd && git clone https://plomlompom.com/repos/clone/config" plom
21 su -c "~/config/buster/setup_scripts/copy_dirtree.sh ~/config/buster/home_files ~ eeepc" plom
22 su -c "echo 2 > ~/.shell_prompt_color" plom