Changeset 295


Ignore:
Timestamp:
Jul 24, 2011, 1:50:19 PM (8 years ago)
Author:
amain
Message:

debwrt-net: fix some minor install issues, add dnsmasq support

Location:
trunk/debian/package/debwrt-net/debian
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/debian/package/debwrt-net/debian/conffiles

    r292 r295  
    44/etc/firewall/firewall.sh
    55/etc/sysctl.d/debwrt.conf
     6/etc/dnsmasq.d/debwrt.conf
  • trunk/debian/package/debwrt-net/debian/control

    r292 r295  
    88Package: debwrt-net
    99Architecture: all
    10 Depends: ${shlibs:Depends}, ${misc:Depends}, robocfg (>= 1.0.1), broadcom-wl, hostapd, swconfig
     10Depends: ${shlibs:Depends}, ${misc:Depends}, robocfg (>= 1.0.1), broadcom-wl, hostapd, swconfig, dnsmasq
    1111Description: DebWrt network scripts
  • trunk/debian/package/debwrt-net/debian/postinst

    r292 r295  
    2222case ${ACTION} in
    2323    configure)
    24        if ! cat /etc/modules 2>/dev/null | grep wl; then
    25           cat >/etc/modules <<EOF
     24       if ! cat /etc/modules 2>/dev/null | grep -q -e "^wl" -e "^#\W*wl"; then
     25          cat >>/etc/modules <<EOF
    2626# DebWrt - default is to use the proprietary wl driver
    2727#          there are still performance problems with the open source b43 driver in AP mode
     28#          uncomment to use broadcom
     29#          ( note: also unblacklist b43 in /etc/modprobe.d/b43.conf )
    2830wl
    2931EOF
  • trunk/debian/package/debwrt-net/debian/rules

    r292 r295  
    1414        install -o root -g root -d $(INSTDIR)/etc/modprobe.d
    1515        install -o root -g root -d $(INSTDIR)/etc/sysctl.d
     16        install -o root -g root -d $(INSTDIR)/etc/dnsmasq.d
    1617        install -o root -g root -d $(INSTDIR)/usr/share/doc/debwrt-net
    17         install -o root -g root -m 644 usr/sbin/pciunbind              $(INSTDIR)/usr/sbin/pciunbind
     18        install -o root -g root -m 755 usr/sbin/pciunbind              $(INSTDIR)/usr/sbin/pciunbind
    1819        install -o root -g root -m 644 etc/network/interfaces.broadcom $(INSTDIR)/etc/network/interfaces.broadcom
    1920        install -o root -g root -m 644 etc/modprobe.d/wl.conf          $(INSTDIR)/etc/modprobe.d/wl.conf
    2021        install -o root -g root -m 644 etc/modprobe.d/b43.conf         $(INSTDIR)/etc/modprobe.d/b43.conf
    21         install -o root -g root -m 644 etc/firewall/firewall.sh        $(INSTDIR)/etc/firewall/firewall.sh
     22        install -o root -g root -m 755 etc/firewall/firewall.sh        $(INSTDIR)/etc/firewall/firewall.sh
    2223        install -o root -g root -m 644 etc/sysctl.d/debwrt.conf        $(INSTDIR)/etc/sysctl.d/debwrt.conf
    2324        install -o root -g root -m 644 usr/share/doc/debwrt-net/nas    $(INSTDIR)/usr/share/doc/debwrt-net/nas
     25        install -o root -g root -m 644 etc/dnsmasq.d/debwrt.conf       $(INSTDIR)/etc/dnsmasq.d/debwrt.conf
     26
Note: See TracChangeset for help on using the changeset viewer.