Fix login CLI
This commit is contained in:
@@ -6,3 +6,9 @@ function fix_rootfs() {
|
||||
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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user