summary refs log tree commit diff
path: root/contrib/rvnit-init
diff options
context:
space:
mode:
authorLeah Neukirchen <leah@vuxu.org>2022-01-07 16:47:27 +0100
committerLeah Neukirchen <leah@vuxu.org>2022-01-07 16:47:27 +0100
commit366c535d93aa3a8ad44f56ca1e024bb9e26bf11c (patch)
treeda84175606693b181e6ffa9e1b7492f16948b121 /contrib/rvnit-init
parent460803f3c3740e076f6db8d56f900b6a53f5ef8f (diff)
downloadrvnit-366c535d93aa3a8ad44f56ca1e024bb9e26bf11c.tar.gz
rvnit-366c535d93aa3a8ad44f56ca1e024bb9e26bf11c.tar.xz
rvnit-366c535d93aa3a8ad44f56ca1e024bb9e26bf11c.zip
contrib: update
Diffstat (limited to 'contrib/rvnit-init')
-rwxr-xr-xcontrib/rvnit-init7
1 files changed, 4 insertions, 3 deletions
diff --git a/contrib/rvnit-init b/contrib/rvnit-init
index 34b54b6..96786ea 100755
--- a/contrib/rvnit-init
+++ b/contrib/rvnit-init
@@ -5,7 +5,8 @@ export PATH
 # control tty
 exec </dev/tty1 >/dev/tty1 2>&1
 
-mountpoint -q /tmp || mount /tmp
+mountpoint -q /proc || mount -o nosuid,noexec,nodev -t proc proc /proc
+mountpoint -q /run || mount -o mode=0755,nosuid,nodev -t tmpfs run /run
 
-cd /etc/rvnit
-exec /bin/rvnit
+ctrlaltdel soft
+exec /bin/rvnit /etc/rvnit