Skip to content

Commit 55e6a6f

Browse files
committed
Removing the autofs handling as per the concerns raised by Seb and our validation
1 parent 5a17a79 commit 55e6a6f

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

debian/preinst

-8
Original file line numberDiff line numberDiff line change
@@ -25,20 +25,12 @@ upgrade)
2525
# referencing the old /export/home paths continue to function
2626
# while also enabling new logins under /home to work.
2727
fs_tab=/etc/fstab
28-
auto_master=/etc/auto.master
2928

3029
if grep -q "\/export\/home" "$fs_tab"; then
3130
sed -i 's|/export/home|/home|g' "$fs_tab"
3231
mount /home
3332
fi
3433

35-
if [[ -e $auto_master ]]; then
36-
if grep -q "\/home\s+auto_home\s+-nobrowse" "$auto_master"; then
37-
sed -i 's|/home auto_home -nobrowse|#/home auto_home -nobrowse|g' "$auto_master"
38-
systemctl restart autofs
39-
fi
40-
fi
41-
4234
passwd_file=/etc/passwd
4335
if grep -q "\/export\/home" "$passwd_file"; then
4436
sed -i 's/\/export\/home/\/home/g' /etc/passwd

0 commit comments

Comments
 (0)