svadd, svdel : mise à jour
This commit is contained in:
parent
41bbe54ece
commit
a3e5e41a5c
2 changed files with 8 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
#!/usr/bin/env sh
|
||||
cd /run/runit/service || exit
|
||||
exec unlink "$1"
|
||||
|
||||
for service in "$@"; do
|
||||
unlink -- "$service"
|
||||
done
|
||||
|
|
Loading…
Reference in a new issue