Skip to content

Commit

Permalink
Do not alter the git repo. It dirties it.
Browse files Browse the repository at this point in the history
  • Loading branch information
eliasbakken committed Mar 20, 2024
1 parent 101c258 commit 9595cf1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions userpatches/overlay/install_components/moonraker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,9 @@ install_moonraker(){
echo "🍰 install Moonraker"
cd /home/debian
git clone https://github.com/Arksine/moonraker
# We add the ssh service here since the file is overwritten on the first boot.
echo 'ssh' >> /home/debian/moonraker/moonraker/assets/default_allowed_services
chown -R debian:debian moonraker
su -c "/home/debian/moonraker/scripts/install-moonraker.sh" debian
su -c "/home/debian/moonraker/scripts/set-policykit-rules.sh" debian
cp /tmp/overlay/moonraker/moonraker-"${UI}".conf /home/debian/printer_data/config/moonraker.conf
cp /tmp/overlay/moonraker/moonraker.asvc /home/debian/printer_data/
}

0 comments on commit 9595cf1

Please sign in to comment.