From: Christian Heller Date: Sat, 6 Apr 2019 00:14:06 +0000 (+0200) Subject: To Buster setup, add user initialization. X-Git-Url: https://plomlompom.com/repos/%7B%7B%20web_path%20%7D%7D/%7B%7Bdb.prefix%7D%7D/reset_cookie?a=commitdiff_plain;h=c5c421b0784b2cca5e1dbc064690536e734f3c11;p=config To Buster setup, add user initialization. --- diff --git a/buster/setup_scripts/setup_eeepc.sh b/buster/setup_scripts/setup_eeepc.sh index 7dcb351..0ce0a96 100755 --- a/buster/setup_scripts/setup_eeepc.sh +++ b/buster/setup_scripts/setup_eeepc.sh @@ -13,3 +13,9 @@ cd "${setup_scripts_dir}" ./setup.sh "${hostname}" "" ./copy_dirtree.sh "${config_tree_prefix}/etc_files" "" eeepc ./install_for_target.sh eeepc + +if [ ! -d "/home/plom" ]; then + adduser --disabled-password --gecos plom + su -c "cd && git clone https://plomlompom.com/repos/clone/config" plom + su -c "~/config/buster/setup_scripts/copy_dirtree.sh ~/config/buster/home_files ~ eeepc" plom +fi