3 type getarg
>/dev
/null
2>&1 || .
/lib
/dracut-lib.sh
9 strglobin
"$IPADDR" '*:*:*' && ipv6
=1
11 if [ "$ipv6" ] && ! str_starts
"$IPADDR" "["; then
15 if [ "$ipv6" ] && ! str_starts
"$GATEWAY" "["; then
20 DNS1
=$
(set -- ${DNS/,/ }; echo $1)
21 DNS2
=$
(set -- ${DNS/,/ }; echo $2)
23 DNS1
=$
(set -- ${DNS/:/ }; echo $1)
24 DNS2
=$
(set -- ${DNS/:/ }; echo $2)
28 echo "ip=$IPADDR::$GATEWAY:$NETMASK:$HOSTNAME:$DEVICE:none:$MTU:$MACADDR"
29 for i
in $DNS1 $DNS2; do
32 } > /etc
/cmdline.d
/80-cms.conf
34 [ -e "/tmp/net.ifaces" ] && read IFACES
< /tmp
/net.ifaces
35 IFACES
="$IFACES $DEVICE"
36 echo "$IFACES" >> /tmp
/net.ifaces