summaryrefslogtreecommitdiff
path: root/pcr/runit/runit.install
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/runit/runit.install')
-rw-r--r--pcr/runit/runit.install7
1 files changed, 7 insertions, 0 deletions
diff --git a/pcr/runit/runit.install b/pcr/runit/runit.install
new file mode 100644
index 000000000..609fd90ae
--- /dev/null
+++ b/pcr/runit/runit.install
@@ -0,0 +1,7 @@
+#!/hint/bash
+
+post_install() {
+ if ! test -L etc/runit/runsvdir/current; then
+ ln -sfvT default etc/runit/runsvdir/current
+ fi
+}