.TP
.B rdudevdebug
set udev to loglevel debug
-.TP
-.B rdnetdebug
-debug network scripts in dracut. Output is written to /tmp/
.SS I18N
e.g.
PATH=$PATH:/sbin:/usr/sbin
+export PS4="dhclient.$interface.$$ + "
+exec >>/dev/initlog.pipe 2>>/dev/initlog.pipe
. /lib/dracut-lib.sh
-if getarg rdnetdebug ; then
- exec >/tmp/dhclient.$interface.$$.out
- exec 2>>/tmp/dhclient.$interface.$$.out
- set -x
-fi
-
# We already need a set netif here
netif=$interface
# Huh? Missing arguments ??
[ -z "$1" -o -z "$2" ] && exit 1
+export PS4="fcoe-up.$1.$$ + "
+exec >>/dev/initlog.pipe 2>>/dev/initlog.pipe
+. /lib/dracut-lib.sh
+
netif=$1
dcb=$2
#sysloglevel=level What level has to be logged
#syslogtype=rsyslog|syslog|syslogng
# Don't auto detect syslog but set it
-if getarg rdnetdebug ; then
- exec >/tmp/syslog-parse-opts.$1.$$.out
- exec 2>>/tmp/syslog-parse-opts.$1.$$.out
- set -x
-fi
+. /lib/dracut-lib.sh
syslogserver=$(getarg syslog)
syslogfilters=$(getargs filter)
#!/bin/sh
# Triggered by udev and starts rsyslogd with bootparameters
-. /lib/dracut-lib.sh
-if getarg rdnetdebug ; then
- exec >/tmp/rsyslogd-start.$1.$$.out
- exec 2>>/tmp/rsyslogd-start.$1.$$.out
- set -x
-fi
+. /lib/dracut-lib.sh
rsyslog_config() {
local server=$1
#!/bin/sh
# Just cleans up a previously started syslogd
-. /lib/dracut-lib.sh
-
-if getarg rdnetdebug ; then
- exec >/tmp/syslog-cleanup.$1.$$.out
- exec 2>>/tmp/syslog-cleanup.$1.$$.out
- set -x
-fi
+. /lib/dracut-lib.sh
if [ -f /tmp/syslog.server ]; then
read syslogtype < /tmp/syslog.type
[ -n "$syslogtype" ]
}
-if getarg rdnetdebug ; then
- exec >/tmp/syslog-genrules.$1.$$.out
- exec 2>>/tmp/syslog-genrules.$1.$$.out
- set -x
-fi
-
read syslogtype < /tmp/syslog.type
if [ -z "$syslogtype" ]; then
syslogtype=$(detect_syslog)
if [ -z "$RDDEBUG" ]; then
if [ -e /proc/cmdline ]; then
RDDEBUG=no
- if getarg rdinitdebug; then
+ if getarg rdinitdebug || getarg rdnetdebug; then
RDDEBUG=yes
fi
fi