mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
config/functions: link systemd unit aliases
This commit is contained in:
parent
9be1c9e49d
commit
319c60ff34
@ -270,6 +270,11 @@ enable_service () {
|
|||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
fi
|
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() {
|
check_path() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user