瀏覽代碼

dracut/vmklive-adduser.sh: strip --noclear from [email protected].

Juan RP 13 年之前
父節點
當前提交
2ef7a175c0
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      dracut/vmklive-adduser.sh

+ 1 - 1
dracut/vmklive-adduser.sh

@@ -21,7 +21,7 @@ fi
 # Enable autologin for getty(1).
 if [ -f ${NEWROOT}/lib/systemd/system/[email protected] ]; then
         rm -f "${NEWROOT}/etc/systemd/system/getty.target.wants/[email protected]"
-	sed -e "s|/sbin/agetty|/sbin/live-getty|g" \
+	sed -e "s|/sbin/agetty --noclear|/sbin/live-getty|g" \
                 "${NEWROOT}/lib/systemd/system/[email protected]" > \
                 "${NEWROOT}/etc/systemd/system/getty.target.wants/[email protected]"
 fi