Skip to content

Commit 8e366ed

Browse files
committed
Moving this logic to appliance-build, for testing purpose keeping file contents commented.
1 parent 8ef8b7c commit 8e366ed

1 file changed

Lines changed: 11 additions & 11 deletions

File tree

debian/preinst

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -24,17 +24,17 @@ upgrade)
2424
# until the system is rebooted to ensure that running processes
2525
# referencing the old /export/home paths continue to function
2626
# while also enabling new logins under /home to work.
27-
fs_tab=/etc/fstab
28-
29-
if grep -q "\/export\/home" "$fs_tab"; then
30-
sed -i 's|/export/home|/home|g' "$fs_tab"
31-
mount /home
32-
fi
33-
34-
passwd_file=/etc/passwd
35-
if grep -q "\/export\/home" "$passwd_file"; then
36-
sed -i 's/\/export\/home/\/home/g' /etc/passwd
37-
fi
27+
fs_tab=/etc/fstab
28+
#
29+
# if grep -q "\/export\/home" "$fs_tab"; then
30+
# sed -i 's|/export/home|/home|g' "$fs_tab"
31+
# mount /home
32+
# fi
33+
#
34+
# passwd_file=/etc/passwd
35+
# if grep -q "\/export\/home" "$passwd_file"; then
36+
# sed -i 's/\/export\/home/\/home/g' /etc/passwd
37+
# fi
3838

3939
;;
4040
esac

0 commit comments

Comments
 (0)