diff options
author | Sébastien Dailly <sebastien@dailly.me> | 2025-06-18 09:45:56 +0200 |
---|---|---|
committer | Sébastien Dailly <sebastien@dailly.me> | 2025-06-18 09:45:56 +0200 |
commit | 8e654849a088d7e2843233e90a0994829de638d0 (patch) | |
tree | 8561f04d6c94b0a54ebfe9155cf10601cc251c4a /board/mpd.sh | |
parent | 1ce989e2da7d00b825097cd5cf5aec5273a7ba5b (diff) |
Updated the scripts to use common fonctions
Diffstat (limited to 'board/mpd.sh')
-rw-r--r-- | board/mpd.sh | 8 |
1 files changed, 4 insertions, 4 deletions
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" |