diff --git a/features.in/mipsel-mitx/rootfs/image-scripts.d/40-fstab b/features.in/mipsel-mitx/rootfs/image-scripts.d/40-fstab new file mode 100755 index 00000000..f47f3e89 --- /dev/null +++ b/features.in/mipsel-mitx/rootfs/image-scripts.d/40-fstab @@ -0,0 +1,7 @@ +#!/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