1 #!/bin/sh 2 # Copyright (c) 2011 The Chromium OS Authors. All rights reserved. 3 # Use of this source code is governed by a BSD-style license that can be 4 # found in the LICENSE file. 5 # args: -r 6 7 . "$(dirname "$0")"/common.sh 8 9 file="/proc/sys/kernel/printk" 10 [ -w "$file" ] && die "can write to $file" 11 exit 0 12