1#!/bin/sh 2 3if [ -n "$1" ]; then 4 LOGLEVEL=$1 5else 6 LOGLEVEL=1 7fi 8 9echo "$LOGLEVEL" > /proc/sys/kernel/printk 10 11