Ignore:
Timestamp:
Dec 29, 2016, 10:08:00 AM (6 years ago)
Author:
amain
Message:

debwrt-net: update debwrt-dnsmask.conf and add sshl

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/debian/packages/debwrt-net/trunk/debian/postinst

    r776 r885  
    55# DebWrt - Debian on Embedded devices
    66#
    7 # Copyright (C) 2011,2015 Johan van Zoomeren <amain@debwrt.net>
     7# Copyright (C) 2011,2016 Johan van Zoomeren <amain@debwrt.net>
    88#
    99# This program is free software: you can redistribute it and/or modify
     
    2727case ${ACTION} in
    2828    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
    3034# DebWrt - default is to use the proprietary wl driver for devices with broadcom
    3135#          wireless chips. There are still performance problems with the open
     
    3337#          commented to use b43.
    3438#          ( note: also unblacklist b43 in /etc/modprobe.d/b43.conf )
    35 #wl
     39wl
    3640EOF
     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
    3756    ;;
    3857    *)
Note: See TracChangeset for help on using the changeset viewer.