summaryrefslogtreecommitdiff
path: root/packages/altboot/files/altboot.rc/disable_printk.sh
diff options
context:
space:
mode:
authorMatthias Hentges <oe@hentges.net>2006-02-02 00:52:41 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-02-02 00:52:41 +0000
commit69f2223275267fbb7428c305c9ee67eb73c8068d (patch)
treed59a979a29292a74445f390e430a6fb078539a06 /packages/altboot/files/altboot.rc/disable_printk.sh
parent6d0cbb9292836080fe20feb2e450dd61a4a71019 (diff)
altboot: Bugfixes
- Fix disable_printk.sh - Boot NFS: Ignore failure of mounting /proc
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