mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-27 20:56:55 +00:00
xbmc: move systemd to /usr/lib
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
b98f28c813
commit
f7a86c9438
@ -492,7 +492,7 @@ post_makeinstall_target() {
|
|||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
# link default.target to xbmc.target
|
# link default.target to xbmc.target
|
||||||
ln -sf xbmc.target $INSTALL/lib/systemd/system/default.target
|
ln -sf xbmc.target $INSTALL/usr/lib/systemd/system/default.target
|
||||||
|
|
||||||
enable_service xbmc-autostart.service
|
enable_service xbmc-autostart.service
|
||||||
enable_service xbmc-cleanlogs.service
|
enable_service xbmc-cleanlogs.service
|
||||||
|
@ -25,7 +25,7 @@ run_scripts()
|
|||||||
list_scripts $1
|
list_scripts $1
|
||||||
for script in $SCRIPTS ; do
|
for script in $SCRIPTS ; do
|
||||||
progress "running sleep script $script ($1)..."
|
progress "running sleep script $script ($1)..."
|
||||||
sh /lib/systemd/system-sleep.serial/$script $1
|
sh /usr/lib/systemd/system-sleep.serial/$script $1
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -33,10 +33,10 @@ list_scripts()
|
|||||||
{
|
{
|
||||||
case $1 in
|
case $1 in
|
||||||
pre)
|
pre)
|
||||||
SCRIPTS=$(ls /lib/systemd/system-sleep.serial/ | sort)
|
SCRIPTS=$(ls /usr/lib/systemd/system-sleep.serial/ | sort)
|
||||||
;;
|
;;
|
||||||
post)
|
post)
|
||||||
SCRIPTS=$(ls /lib/systemd/system-sleep.serial/ | sort -r)
|
SCRIPTS=$(ls /usr/lib/systemd/system-sleep.serial/ | sort -r)
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user