OpenSDE Packages Database (without history before r20070)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
465 B

  1. if grep -q '^CONFIG_IEEE80211' "$1"; then
  2. sed -r -e "s:^(CONFIG_IEEE80211.*):#\1:" \
  3. "$1" > "$1.ieee80211"
  4. diff -u "$1"{,.ieee80211}
  5. mv "$1"{.ieee80211,}
  6. fi
  7. if grep -q '^CONFIG_IEEE80211' "include/linux/autoconf.h" 2> /dev/null; then
  8. sed -r -e "s:^(#(un)?def.*CONFIG_IEEE80211.*):/*\1*/:" \
  9. "include/linux/autoconf.h" > "include/linux/autoconf.h.ieee80211"
  10. diff -u "include/linux/autoconf.h"{,.ieee80211}
  11. mv -v "include/linux/autoconf.h"{.ieee80211,}
  12. fi