|
@@ -25,6 +25,8 @@ fi
|
|
rm -f "${NEWROOT}/etc/systemd/system/getty.target.wants/[email protected]"
|
|
rm -f "${NEWROOT}/etc/systemd/system/getty.target.wants/[email protected]"
|
|
sed -e "s|/sbin/agetty --noclear|& -a ${USERNAME}|g" \
|
|
sed -e "s|/sbin/agetty --noclear|& -a ${USERNAME}|g" \
|
|
"${NEWROOT}/usr/lib/systemd/system/[email protected]" > \
|
|
"${NEWROOT}/usr/lib/systemd/system/[email protected]" > \
|
|
|
|
+ "${NEWROOT}/etc/systemd/system/[email protected]"
|
|
|
|
+ln -sf /etc/systemd/system/[email protected] \
|
|
"${NEWROOT}/etc/systemd/system/getty.target.wants/[email protected]"
|
|
"${NEWROOT}/etc/systemd/system/getty.target.wants/[email protected]"
|
|
|
|
|
|
if [ -d ${NEWROOT}/etc/polkit-1 ]; then
|
|
if [ -d ${NEWROOT}/etc/polkit-1 ]; then
|