aboutsummaryrefslogtreecommitdiff
path: root/net.Linux/iwconfig.sh
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2007-04-12 15:47:26 +0000
committerRoy Marples <roy@marples.name>2007-04-12 15:47:26 +0000
commit1f7770af7bae7d04824752ad055e274e66de53f8 (patch)
tree49be4fa43f70a460d15fd2c0b5cb571ccd95d891 /net.Linux/iwconfig.sh
parentdaa9c99010494439b41c6cdbce3a2625514c12ce (diff)
Include old file conf.d/wireless and warn the user
Diffstat (limited to 'net.Linux/iwconfig.sh')
-rw-r--r--net.Linux/iwconfig.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/net.Linux/iwconfig.sh b/net.Linux/iwconfig.sh
index 6dfbc98f..15cb19ad 100644
--- a/net.Linux/iwconfig.sh
+++ b/net.Linux/iwconfig.sh
@@ -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