mirror of https://github.com/hak5/openwrt.git
parent
27a7fa73ee
commit
440f537f48
|
@ -10,6 +10,9 @@ system_config() {
|
|||
config_get hostname "$cfg" hostname
|
||||
echo "${hostname:-OpenWrt}" > /proc/sys/kernel/hostname
|
||||
|
||||
config_get conloglevel "$cfg" conloglevel
|
||||
[ -n "$conloglevel" ] && dmesg -n "$conloglevel"
|
||||
|
||||
config_get log_ip "$cfg" log_ip
|
||||
syslogd -C16 ${log_ip:+-L -R $log_ip}
|
||||
klogd
|
||||
|
|
Loading…
Reference in New Issue