Include old file conf.d/wireless and warn the user

This commit is contained in:
Roy Marples 2007-04-12 15:47:26 +00:00
parent daa9c99010
commit 1f7770af7b

View File

@ -661,6 +661,13 @@ iwconfig_pre_start() {
return 0
fi
# Warn about old file - we want to punt it really
if [ -e /etc/conf.d/wireless ] ; then
ewarn "/etc/conf.d/wireless is deprecated"
ewarn "Please put all settings into /etc/conf.d/net"
. /etc/conf.d/wireless
fi
iwconfig_defaults
iwconfig_user_config