15 lines
371 B
Bash
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
|
|
}
|