Skip to content

Instantly share code, notes, and snippets.

@pricklydevil
pricklydevil / Proxomox - NUT Client.md
Created July 18, 2020 20:30 — forked from pae-id/Proxomox - NUT Client.md
Proxomox - NUT Client.md
@pricklydevil
pricklydevil / tvh.sh
Created July 15, 2018 07:41 — forked from DaVukovic/tvh.sh
Installs tvheadend on Ubuntu machines
#!/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