projects
/
openwrt
/
.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
octeon: get rid of /lib/functions/octeon.sh hackery, use sysinfo directly
[openwrt/.git]
/
target
/
linux
/
octeon
/
base-files
/
lib
/
preinit
/
79_move_config
1
#!/bin/sh
2
# Copyright (C) 2014 OpenWrt.org
3
4
move_config() {
5
case "$(cat /tmp/sysinfo/board_name)" in
6
erlite)
7
mount -t vfat /dev/sda1 /mnt
8
mv -f /mnt/sysupgrade.tgz /
9
umount /mnt
10
;;
11
esac
12
}
13
14
boot_hook_add preinit_mount_root move_config