burrow-pi-img/stage2/02-net-tweaks/01-run.sh
Michael Zanetti 3d2f609fbf BerryLan Mods
* replace dhcpcd5 with network-manager
* seed in the nymea repository and nymea-networkmanager
* patch nymea-networkmanager startup comand to use "Raspberry Pi" instead of nymea
2018-09-24 15:20:18 +02:00

7 lines
282 B
Bash
Executable File

#!/bin/bash -e
install -v -d "${ROOTFS_DIR}/etc/wpa_supplicant"
install -v -m 600 files/wpa_supplicant.conf "${ROOTFS_DIR}/etc/wpa_supplicant/"
sed -i 's/-a nymea -p nymea-box/-a "Raspberry Pi" -p "Raspberry Pi"/' ${ROOTFS_DIR}/lib/systemd/system/nymea-networkmanager.service