Don't do fstab twice
This commit is contained in:
parent
8cfd155e0a
commit
c6a754ddda
@ -7,7 +7,7 @@ echo 'GEN_FSTAB' | nc -U $SOCKET_PATH || true
|
|||||||
touch /etc/fstab
|
touch /etc/fstab
|
||||||
# Generate fstab entries
|
# Generate fstab entries
|
||||||
dpkg -s arch-install-scripts || apt install -y arch-install-scripts cryptsetup
|
dpkg -s arch-install-scripts || apt install -y arch-install-scripts cryptsetup
|
||||||
genfstab -U / | grep -v zram | grep -v portal | grep -v loop | grep -v cdrom | grep -v swap > /etc/fstab
|
#genfstab -U / | grep -v zram | grep -v portal | grep -v loop | grep -v cdrom | grep -v swap > /etc/fstab
|
||||||
# Enable zram if there's no swaplist
|
# Enable zram if there's no swaplist
|
||||||
if [ ! -f /tmp/pika-installer-gtk4-swaplist ]
|
if [ ! -f /tmp/pika-installer-gtk4-swaplist ]
|
||||||
then
|
then
|
||||||
|
Loading…
Reference in New Issue
Block a user