Changeset 885 for trunk/debian/packages/debwrt-net/trunk/debian/postinst
- Timestamp:
- Dec 29, 2016, 10:08:00 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/debian/packages/debwrt-net/trunk/debian/postinst
r776 r885 5 5 # DebWrt - Debian on Embedded devices 6 6 # 7 # Copyright (C) 2011,201 5Johan van Zoomeren <amain@debwrt.net>7 # Copyright (C) 2011,2016 Johan van Zoomeren <amain@debwrt.net> 8 8 # 9 9 # This program is free software: you can redistribute it and/or modify … … 27 27 case ${ACTION} in 28 28 configure) 29 cat >>/etc/modules <<EOF 29 if [ "brcm47xx" = "$(cat /lib/modules/debwrt.target &>/dev/null)" ] 30 then 31 if ! grep -q "^[ #]*wl$" /etc/modules 32 then 33 cat >>/etc/modules <<EOF 30 34 # DebWrt - default is to use the proprietary wl driver for devices with broadcom 31 35 # wireless chips. There are still performance problems with the open … … 33 37 # commented to use b43. 34 38 # ( note: also unblacklist b43 in /etc/modprobe.d/b43.conf ) 35 #wl39 wl 36 40 EOF 41 fi 42 fi 43 44 if [ ! -e /etc/default/sslh.debwrt ] 45 then 46 cp /usr/share/doc/debwrt-net/default/sslh /etc/default/sslh.debwrt 47 mv /etc/default/sslh /etc/default/sslh.org 48 ln -s /etc/default/sslh.debwrt /etc/default/sslh 49 50 # systemd only: disable by default 51 if [ -e /bin/systemctl ] 52 then 53 /bin/systemctl disable sslh 54 fi 55 fi 37 56 ;; 38 57 *)
Note: See TracChangeset
for help on using the changeset viewer.