projects
/
openwrt
/
staging
/
hauke.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
treewide: drop shebang from non-executable target files
[openwrt/staging/hauke.git]
/
target
/
linux
/
octeon
/
base-files
/
lib
/
preinit
/
79_move_config
1
# Copyright (C) 2014 OpenWrt.org
2
3
move_config() {
4
. /lib/functions.sh
5
. /lib/upgrade/common.sh
6
7
case "$(board_name)" in
8
erlite)
9
mount -t vfat /dev/sda1 /mnt
10
[ -f "/mnt/$BACKUP_FILE" ] && mv -f "/mnt/$BACKUP_FILE" /
11
umount /mnt
12
;;
13
esac
14
}
15
16
boot_hook_add preinit_mount_root move_config