From b5c91536c1842e873e01daf7e738e9e08b1899f5 Mon Sep 17 00:00:00 2001 From: Coiby Xu Date: May 14 2021 06:14:14 +0000 Subject: Warn the user if network scripts are used Resolves: bz1919052 Upstream: Fedora Conflict: None commit 8178d7a5a1b164aecea73d9cf3e32ac57a9f33e8 Author: Coiby Xu Date: Thu Apr 1 15:32:14 2021 +0800 Warn the user if network scripts are used Signed-off-by: Coiby Xu Acked-by: Kairui Song Signed-off-by: Coiby Xu --- diff --git a/dracut-module-setup.sh b/dracut-module-setup.sh index e29c2de..cc7e94e 100755 --- a/dracut-module-setup.sh +++ b/dracut-module-setup.sh @@ -89,6 +89,7 @@ kdump_is_vlan() { source_ifcfg_file() { local ifcfg_file + dwarning "Network Scripts are deprecated. You are encouraged to set up network by NetworkManager." ifcfg_file=$(get_ifcfg_filename $1) if [ -f "${ifcfg_file}" ]; then . ${ifcfg_file}