diff --git a/config/functions b/config/functions index 81cdf5956d..670185beed 100644 --- a/config/functions +++ b/config/functions @@ -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() {