mirror of https://github.com/01-edu/public.git
Remove useless lines
This commit is contained in:
parent
a802fca4d9
commit
be10aa0992
|
@ -29,7 +29,7 @@ if test -e /dev/disk/by-partlabel/01-home; then
|
|||
mount -o noatime /dev/disk/by-partlabel/01-home /mnt
|
||||
else
|
||||
# Fails if no local partition is found
|
||||
test -e /dev/disk/by-partlabel/01-tmp-home || exit 1
|
||||
test -e /dev/disk/by-partlabel/01-tmp-home
|
||||
|
||||
# We don't care about data consistency since the partition is temporary so disable journaling
|
||||
/sbin/mke2fs -t ext4 -O ^has_journal -F /dev/disk/by-partlabel/01-tmp-home
|
||||
|
|
|
@ -21,5 +21,4 @@ loginctl terminate-user student
|
|||
sleep 0.1
|
||||
|
||||
umount /home/student/.cache /home/student /mnt
|
||||
umount /dev/disk/by-partlabel/01-home ||:
|
||||
/usr/sbin/wipefs -a /dev/disk/by-partlabel/01-tmp-home
|
||||
|
|
Loading…
Reference in New Issue