Signed-off-by: Cristian Rodríguez
---
etc/sysconfig.kernel-mkinitrd | 8 ++++++++
man/mkinitrd.8.txt | 3 ++-
scripts/boot-netconsole.sh | 2 +-
scripts/setup-start.sh | 1 +
4 files changed, 12 insertions(+), 2 deletions(-)
diff --git a/etc/sysconfig.kernel-mkinitrd b/etc/sysconfig.kernel-mkinitrd
index 89062a8..aa3dcb2 100644
--- a/etc/sysconfig.kernel-mkinitrd
+++ b/etc/sysconfig.kernel-mkinitrd
@@ -62,3 +62,11 @@ MODULES_LOADED_ON_BOOT=""
# bugzilla.kernel.org so that the root cause of the issue will get fixed.
ACPI_DSDT=""
+## Type: string
+## Default: ""
+# The IP address/port of the remote logging server where you want to
+# send kernel messages
+# Example: NETCONSOLE="192.168.0.2:6666".
+# If no port is given defaults to standard UDP syslog.
+#
+NETCONSOLE=""
diff --git a/man/mkinitrd.8.txt b/man/mkinitrd.8.txt
index 88014be..f0a6997 100644
--- a/man/mkinitrd.8.txt
+++ b/man/mkinitrd.8.txt
@@ -260,7 +260,8 @@ Include support for Software RAID (md)
Include support for multipathing
*netconsole*::
-Include support for debugging using netconsole
+Include support for debugging using netconsole
+(use with -I <dev> , see also NETCONSOLE sysconfig variable)
*network*::
Include networking support
diff --git a/scripts/boot-netconsole.sh b/scripts/boot-netconsole.sh
index 708b032..262dc30 100644
--- a/scripts/boot-netconsole.sh
+++ b/scripts/boot-netconsole.sh
@@ -5,7 +5,7 @@
#
#%modules: netconsole
#%programs: ping arp
-#%if: "$interface" -a "$NETCONSOLE"
+#%if: "$interface" -o "$ip" -a "$NETCONSOLE"
#
##### network console
##
diff --git a/scripts/setup-start.sh b/scripts/setup-start.sh
index 421aa60..6da764a 100644
--- a/scripts/setup-start.sh
+++ b/scripts/setup-start.sh
@@ -72,3 +72,4 @@ RESOLVED_INITRD_MODULES=$RESOLVED_INITRD_MODULES_NEW
save_var RESOLVED_INITRD_MODULES
save_var RESOLVED_INITRD_MODULES_UDEV
+save_var NETCONSOLE
--
1.7.7
--
To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org
To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org