summaryrefslogtreecommitdiff
path: root/packages/altboot/files/altboot.rc/disable_printk.sh
diff options
context:
space:
mode:
Diffstat (limited to 'packages/altboot/files/altboot.rc/disable_printk.sh')
-rw-r--r--packages/altboot/files/altboot.rc/disable_printk.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/altboot/files/altboot.rc/disable_printk.sh b/packages/altboot/files/altboot.rc/disable_printk.sh
index 9d5f918c1e..af15adec44 100644
--- a/packages/altboot/files/altboot.rc/disable_printk.sh
+++ b/packages/altboot/files/altboot.rc/disable_printk.sh
@@ -1,4 +1,6 @@
-#!/bin/bash
+#!/bin/sh
+
+mount proc -t proc /proc >/dev/null 2>&1
echo 0 > /proc/sys/kernel/printk