projects
/
openwrt
/
staging
/
yousong.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
cdcf683a22eaef142351f59654b3ebd1a5df40b5
[openwrt/staging/yousong.git]
/
target
/
linux
/
x86_64
/
base-files
/
lib
/
preinit
/
79_move_config
1
#!/bin/sh
2
# Copyright (C) 2012-2014 OpenWrt.org
3
4
move_config
() {
5
.
/
lib
/
upgrade
/
platform.sh
6
7
if
platform_export_bootpart
;
then
8
mount
-t
ext4
-o
rw
,
noatime
"
$BOOTPART
"
/
mnt
9
mv
-f
/
mnt
/
sysupgrade.tgz
/
10
umount
/
mnt
11
fi
12
}
13
14
boot_hook_add preinit_mount_root move_config
15