Last active
January 1, 2018 11:55
-
-
Save fr34kyn01535/5c44d934ee2928db49a2c6ab96c3c3f2 to your computer and use it in GitHub Desktop.
Lede upgrade post procedure
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
opkg update && opkg install block-mount kmod-fs-ext4 kmod-usb-storage e2fsprogs kmod-usb-ohci kmod-usb-uhci fdisk | |
block detect > /etc/config/fstab; \ | |
sed -i s/option$'\t'enabled$'\t'\'0\'/option$'\t'enabled$'\t'\'1\'/ /etc/config/fstab; \ | |
sed -i s#/mnt/sda1#/overlay# /etc/config/fstab; \ | |
cat /etc/config/fstab; | |
mkdir /tempupgrade | |
mount /dev/sda1 /tempupgrade | |
rm /tempupgrade/etc/.extroot-uuid | |
umount /dev/sda1 | |
rmdir /tempupgrade/ | |
reboot |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment