apt-get install nut
- Edit
/etc/nut/nut.conf:
apt-get install nut
/etc/nut/nut.conf:| #!/bin/sh | |
| # This script installs TVHeadend on your Ubuntu 16.04.x machine | |
| # | |
| # Exit-codes: | |
| # exit 1 = no root rights | |
| # exit 2 = not using Ubuntu 16.04 | |
| # exit 3 = TVHeadend already installed (exit in install-function) | |
| # exit 4 = TVHeadend is not installed (exit in deinstall-function) | |
| # exit 5 = TVHeadend repo already exists |
| /interface bridge | |
| add l2mtu=1598 name=LAN | |
| /interface ethernet | |
| set 2 master-port=ether2 | |
| set 3 master-port=ether2 | |
| set 4 master-port=ether2 | |
| /interface wireless security-profiles | |
| add authentication-types=wpa2-psk eap-methods=passthrough management-protection=allowed mode=dynamic-keys name=149 supplicant-identity="" wpa2-pre-shared-key=149149149149 | |
| /interface wireless | |
| set 0 band=2ghz-b/g/n channel-width=20/40mhz-ht-above frequency=2427 security-profile=149 ssid=149 |