summaryrefslogtreecommitdiff
path: root/enable.sh
diff options
context:
space:
mode:
authorGuillermo Ramos2020-05-16 17:42:01 +0200
committerGuillermo Ramos2020-05-16 17:42:01 +0200
commitedc912e5617f41326c1198aad7ff813081e34abf (patch)
tree98624b4507e3f30a84a34fe879ee931ae0fbd2ab /enable.sh
parentadc123903f329e157bfeeab1c9b8a832ce87c2df (diff)
downloads6-services-edc912e5617f41326c1198aad7ff813081e34abf.tar.gz
Control scripts
Diffstat (limited to 'enable.sh')
-rwxr-xr-xenable.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/enable.sh b/enable.sh
new file mode 100755
index 0000000..a14f4c8
--- /dev/null
+++ b/enable.sh
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+mkdir -p ~/s6/service
+for svc in $@; do
+ ln -s ~/s6/services/$svc ~/s6/service/$svc
+done