aboutsummaryrefslogtreecommitdiff
path: root/rootfs/etc/runit/3
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2024-02-07 18:41:32 +0100
committerlonkaars <loek@pipeframe.xyz>2024-02-07 18:41:32 +0100
commitb02e98ad03bfdf37cb17b56034168d4ad8638823 (patch)
tree0f8527b388eb9b3260743234199b7f4da704a034 /rootfs/etc/runit/3
parentb9dfdaaa1ae0148dd8a3e78508c636636e7396a6 (diff)
fix init systemend
Diffstat (limited to 'rootfs/etc/runit/3')
-rwxr-xr-xrootfs/etc/runit/36
1 files changed, 6 insertions, 0 deletions
diff --git a/rootfs/etc/runit/3 b/rootfs/etc/runit/3
new file mode 100755
index 0000000..8a0018d
--- /dev/null
+++ b/rootfs/etc/runit/3
@@ -0,0 +1,6 @@
+#!/bin/sh
+# disable all network interfaces
+ifdown -a
+
+# unmount all drives
+umount -a -r