Files
operating-system/buildroot-external/scripts/rootfs_layer.sh
Pascal Vizeli a0c21ec319 Fix login CLI
2018-04-16 23:41:13 +02:00

15 lines
371 B
Bash

#!/bin/bash
function fix_rootfs() {
# Cleanup DHCP service, we don't need this with NetworkManager
rm -rf ${TARGET_DIR}/etc/systemd/system/multi-user.target.wants/dhcpcd.service
rm -rf ${TARGET_DIR}/usr/lib/systemd/system/dhcpcd.service
}
function install_hassio_cli() {
sed -i "s|\(root.*\)/bin/sh|\1/usr/bin/hassio-cli|" ${TARGET_DIR}/etc/passwd
}