Skip to content

Commit

Permalink
Update victron-venus-os-install.sh
Browse files Browse the repository at this point in the history
Ensure to add entry in a separate line
  • Loading branch information
christian1980nrw authored Oct 2, 2023
1 parent 47b6bc9 commit 0883b35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion victron-venus-os-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ if [ -e "$DESTDIR"/data/rc.local ]; then
echo "I: Spotmarket-Switcher/service is already known to rc.local boot script - not added again."
else
echo "I: Adding link to Spotmarket-Switcher/service to rc.local boot script."
echo "ln -s /data/etc/Spotmarket-Switcher/service /service/Spotmarket-Switcher" >> "$DESTDIR"/data/rc.local
sed -i '1s|^|ln -s /data/etc/Spotmarket-Switcher/service /service/Spotmarket-Switcher\n|' /data/rc.local
fi
else
echo "I: Creating new data/rc.local boot script"
Expand Down

0 comments on commit 0883b35

Please sign in to comment.