From 4e3765f4ea10f5623aa96bdfd3dca2ec6b8e523a Mon Sep 17 00:00:00 2001 From: Michele Cereda Date: Fri, 4 Mar 2022 00:25:37 +0100 Subject: [PATCH] Moved examples to the right place --- {scripts => examples}/alpine/raspberrypi.headless.setup.sh | 4 ++-- .../raspberry pi os/salt-and-other-stuff.bash | 0 scripts/{raspbian => raspberry pi os}/boinc-client.setup.bash | 0 scripts/{raspbian => raspberry pi os}/docker.install.bash | 0 scripts/{raspbian => raspberry pi os}/frankendebian.setup.sh | 0 .../{raspbian => raspberry pi os}/git.install-from-source.sh | 0 scripts/{raspbian => raspberry pi os}/raspbian.list.template | 0 7 files changed, 2 insertions(+), 2 deletions(-) rename {scripts => examples}/alpine/raspberrypi.headless.setup.sh (87%) rename scripts/raspbian/salt_and_other_stuff.bash => examples/raspberry pi os/salt-and-other-stuff.bash (100%) rename scripts/{raspbian => raspberry pi os}/boinc-client.setup.bash (100%) rename scripts/{raspbian => raspberry pi os}/docker.install.bash (100%) rename scripts/{raspbian => raspberry pi os}/frankendebian.setup.sh (100%) rename scripts/{raspbian => raspberry pi os}/git.install-from-source.sh (100%) rename scripts/{raspbian => raspberry pi os}/raspbian.list.template (100%) diff --git a/scripts/alpine/raspberrypi.headless.setup.sh b/examples/alpine/raspberrypi.headless.setup.sh similarity index 87% rename from scripts/alpine/raspberrypi.headless.setup.sh rename to examples/alpine/raspberrypi.headless.setup.sh index baec7b8..668ac97 100755 --- a/scripts/alpine/raspberrypi.headless.setup.sh +++ b/examples/alpine/raspberrypi.headless.setup.sh @@ -24,9 +24,9 @@ rm /etc/local.d/headless.start passwd -adduser mek +adduser $USER apk add sudo -echo "mek ALL=(ALL) NOPASSWD: ALL" | tee /etc/sudoers.d/mek +echo "${USER} ALL=(ALL) NOPASSWD: ALL" | tee /etc/sudoers.d/${USER} lbu commit -d reboot diff --git a/scripts/raspbian/salt_and_other_stuff.bash b/examples/raspberry pi os/salt-and-other-stuff.bash similarity index 100% rename from scripts/raspbian/salt_and_other_stuff.bash rename to examples/raspberry pi os/salt-and-other-stuff.bash diff --git a/scripts/raspbian/boinc-client.setup.bash b/scripts/raspberry pi os/boinc-client.setup.bash similarity index 100% rename from scripts/raspbian/boinc-client.setup.bash rename to scripts/raspberry pi os/boinc-client.setup.bash diff --git a/scripts/raspbian/docker.install.bash b/scripts/raspberry pi os/docker.install.bash similarity index 100% rename from scripts/raspbian/docker.install.bash rename to scripts/raspberry pi os/docker.install.bash diff --git a/scripts/raspbian/frankendebian.setup.sh b/scripts/raspberry pi os/frankendebian.setup.sh similarity index 100% rename from scripts/raspbian/frankendebian.setup.sh rename to scripts/raspberry pi os/frankendebian.setup.sh diff --git a/scripts/raspbian/git.install-from-source.sh b/scripts/raspberry pi os/git.install-from-source.sh similarity index 100% rename from scripts/raspbian/git.install-from-source.sh rename to scripts/raspberry pi os/git.install-from-source.sh diff --git a/scripts/raspbian/raspbian.list.template b/scripts/raspberry pi os/raspbian.list.template similarity index 100% rename from scripts/raspbian/raspbian.list.template rename to scripts/raspberry pi os/raspbian.list.template