Permalink
Browse files

Force yes on e2fsck

  • Loading branch information...
NEMS Linux
NEMS Linux committed Sep 8, 2018
1 parent 0cb458c commit 06696e257c70a49f75db7277305a265d0cb9ae7b
Showing with 1 addition and 1 deletion.
  1. +1 −1 resize_rootfs/odroid-stage2
@@ -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.