mirror of
https://github.com/libretro/Lakka-LibreELEC.git
synced 2024-11-27 02:20:29 +00:00
config/functions: link systemd unit aliases
This commit is contained in:
parent
9be1c9e49d
commit
319c60ff34
@ -270,6 +270,11 @@ enable_service () {
|
||||
fi
|
||||
done
|
||||
fi
|
||||
for target in `grep '^Alias' $target_dir/$unit_dir/$unit | cut -f2 -d=` ; do
|
||||
if [ -n "$target" ]; then
|
||||
ln -sf ${unit} ${target_dir}/$unit_dir/${target}
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
check_path() {
|
||||
|
Loading…
Reference in New Issue
Block a user