projects
/
openwrt
/
staging
/
stintel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
brcm2708: restore /boot/config.txt before reboot
[openwrt/staging/stintel.git]
/
target
/
linux
/
brcm2708
/
base-files
/
lib
/
upgrade
/
platform.sh
diff --git
a/target/linux/brcm2708/base-files/lib/upgrade/platform.sh
b/target/linux/brcm2708/base-files/lib/upgrade/platform.sh
index 2f2aeb098e29b084273845aea7d5ee145d2082aa..b7613b446d62a92e257be1ae57a539e26bd008d6 100644
(file)
--- a/
target/linux/brcm2708/base-files/lib/upgrade/platform.sh
+++ b/
target/linux/brcm2708/base-files/lib/upgrade/platform.sh
@@
-27,6
+27,7
@@
platform_copy_config() {
mkdir -p /boot
[ -f /boot/kernel.img ] || mount -t vfat -o rw,noatime /dev/mmcblk0p1 /boot
cp -af "$CONF_TAR" /boot/
+ tar --directory / -xvf "$CONF_TAR" boot/config.txt
sync
umount /boot
}