Skip to content

Commit 41baf3a

Browse files
committed
[fix] : Fixed autologin path
1 parent b79d848 commit 41baf3a

File tree

1 file changed

+2
-12
lines changed

1 file changed

+2
-12
lines changed

modules/share/airootfs.any/usr/share/calamares/final-process

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,7 @@ script_path="$( cd -P "$( dirname "$(readlink -f "${0}")" )" && pwd )"
66
script_name="$(basename "$(realpath "${0}")")"
77

88
function remove () {
9-
local list
10-
local file
11-
list=($(echo "$@"))
12-
for file in "${list[@]}"; do
13-
if [[ -f ${file} ]]; then
14-
rm -f "${file}"
15-
elif [[ -d ${file} ]]; then
16-
rm -rf "${file}"
17-
fi
18-
done
9+
rm -rf "${@}"
1910
}
2011

2112
while getopts 'u:' arg; do
@@ -40,14 +31,13 @@ remove_user_file ".config/gtk-3.0/bookmarks"
4031
remove /etc/polkit-1/rules.d/01-nopasswork.rules
4132

4233
# Delete unnecessary files of archiso.
43-
remove /etc/systemd/system/[email protected]/autologin.conf
4434
remove /root/.automated_script.sh
4535
remove /etc/mkinitcpio-archiso.conf
4636
remove /etc/initcpio
4737

4838
# Delete systemd files
4939
remove /etc/systemd/journald.conf.d/volatile-storage.conf
50-
remove /etc/systemd/system/getty@tty1.service.d
40+
remove /etc/systemd/system/[email protected]
5141
remove /etc/systemd/system/alteriso-reflector.service
5242

5343
# Disabled auto login for LightDM

0 commit comments

Comments
 (0)