svadd, svdel : mise à jour

This commit is contained in:
Ahurac 2024-04-13 16:12:15 +02:00
parent 41bbe54ece
commit a3e5e41a5c
2 changed files with 8 additions and 2 deletions

View file

@ -1,3 +1,6 @@
#!/usr/bin/env sh
cd /run/runit/service || exit
exec ln -s /etc/runit/sv/"$1" .
for service in "$@"; do
ln -s /etc/runit/sv/"$service" .
done

View file

@ -1,3 +1,6 @@
#!/usr/bin/env sh
cd /run/runit/service || exit
exec unlink "$1"
for service in "$@"; do
unlink -- "$service"
done