home · contact · privacy
To Buster setup, add user initialization.
authorChristian Heller <c.heller@plomlompom.de>
Sat, 6 Apr 2019 00:14:06 +0000 (02:14 +0200)
committerChristian Heller <c.heller@plomlompom.de>
Sat, 6 Apr 2019 00:14:06 +0000 (02:14 +0200)
buster/setup_scripts/setup_eeepc.sh

index 7dcb351978d7f5c106563f7a16cf60f33c8769d2..0ce0a96d48034362165a4345c60a23459b79b987 100755 (executable)
@@ -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