diff options
author | lonkaars <loek@pipeframe.xyz> | 2024-02-07 16:15:21 +0100 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2024-02-07 16:15:21 +0100 |
commit | b9dfdaaa1ae0148dd8a3e78508c636636e7396a6 (patch) | |
tree | 49dcef99dbd866108d637cc675853ee49ed8f4d1 /rootfs/etc/deinit.d | |
parent | 612a0afa63144aae338a51c9206a589d4b8fdd65 (diff) |
web server done
Diffstat (limited to 'rootfs/etc/deinit.d')
-rw-r--r-- | rootfs/etc/deinit.d/90_network | 3 | ||||
-rw-r--r-- | rootfs/etc/deinit.d/99_mounts | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/rootfs/etc/deinit.d/90_network b/rootfs/etc/deinit.d/90_network new file mode 100644 index 0000000..106e6b7 --- /dev/null +++ b/rootfs/etc/deinit.d/90_network @@ -0,0 +1,3 @@ +#!/bin/sh +# disable all network interfaces +ifdown -a diff --git a/rootfs/etc/deinit.d/99_mounts b/rootfs/etc/deinit.d/99_mounts new file mode 100644 index 0000000..359d592 --- /dev/null +++ b/rootfs/etc/deinit.d/99_mounts @@ -0,0 +1,3 @@ +#!/bin/sh +# unmount all drives +umount -a -r |