mkimage-profiles/features.in/mipsel-mitx/rootfs/image-scripts.d/40-fstab
2020-01-13 12:09:28 +03:00

8 lines
175 B
Bash
Executable File

#!/bin/sh -efu
# remove rootfs entry
sed -i '/rootfs/d' /etc/fstab
echo "/dev/sda6 / ext4 relatime 1 1" >> /etc/fstab
echo "/dev/sda1 /boot ext4 defaults 1 2" >> /etc/fstab