Skip to content

Instantly share code, notes, and snippets.

View githubarooski's full-sized avatar

githubarooski

View GitHub Profile
@githubarooski
githubarooski / hb-setup.sh
Created July 2, 2023 02:58 — forked from ohmantics/hb-setup.sh
Homebridge in an iocage jail
DATASET=/zroot/apps
# Create the jail
iocage create -n "homebridge" -r 13.1-RELEASE dhcp=1 bpf=1 vnet=1 allow_raw_sockets="1" boot="on"
# switch to Latest
iocage exec homebridge "mkdir -p /usr/local/etc/pkg/repos"
iocage exec homebridge "echo -e 'FreeBSD: { url: \"pkg+http://pkg.FreeBSD.org/\${ABI}/latest\" }' > /usr/local/etc/pkg/repos/FreeBSD.conf"
# Install Homebridge and dependencies