From 8e654849a088d7e2843233e90a0994829de638d0 Mon Sep 17 00:00:00 2001 From: Sébastien Dailly Date: Wed, 18 Jun 2025 09:45:56 +0200 Subject: Updated the scripts to use common fonctions --- board/mpd.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'board/mpd.sh') diff --git a/board/mpd.sh b/board/mpd.sh index d99161c..319d7a2 100644 --- a/board/mpd.sh +++ b/board/mpd.sh @@ -59,7 +59,8 @@ WantedBy=multi-user.target __EOF__ # Create the link to the system configuration -ln -sf /etc/systemd/system/playlists.service "${TARGET_DIR}/usr/lib/systemd/system/multi-user.target.wants/playlists.service" +#ln -sf /etc/systemd/system/playlists.service "${TARGET_DIR}/usr/lib/systemd/system/multi-user.target.wants/playlists.service" +enable_service "playlists.service" cat << __EOF__ > "${TARGET_DIR}/etc/systemd/system/rss_playlists.service" [Unit] @@ -89,6 +90,5 @@ RandomizedDelaySec=15m WantedBy=timers.target __EOF__ -ln -sf /etc/systemd/system/rss_playlists.service "${TARGET_DIR}/usr/lib/systemd/system/multi-user.target.wants/rss_playlists.service" - -ln -sf /etc/systemd/system/rss_playlists.timer "${TARGET_DIR}/usr/lib/systemd/system/multi-user.target.wants/rss_playlists.timer" +enable_service "rss_playlists.service" +enable_service "rss_playlists.timer" -- cgit v1.2.3