Skip to content

Commit

Permalink
Force yes on e2fsck
Browse files Browse the repository at this point in the history
  • Loading branch information
NEMS Linux committed Sep 8, 2018
1 parent 0cb458c commit 06696e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resize_rootfs/odroid-stage2
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash
ROOTFS=`ls -l /dev/disk/by-uuid/ | grep "e139ce78-9841-40fe-8823-96a304a09859" | awk '{print $11}' | sed "s/\.\.\/\.\.\///" | sed "s/p1//"`
e2fsck -f /dev/$ROOTFS
e2fsck -y -f /dev/$ROOTFS
/sbin/resize2fs /dev/$ROOTFS
sed -i "s,/root/nems/nems-admin/resize_rootfs/odroid-stage2,,g" /etc/rc.local
#reboot

0 comments on commit 06696e2

Please sign in to comment.