mirror of https://github.com/aredn/aredn.git
20 lines
452 B
Plaintext
20 lines
452 B
Plaintext
|
#!/bin/sh /etc/rc.common
|
||
|
# Copyright (C) 2006 OpenWrt.org
|
||
|
|
||
|
START=99
|
||
|
boot() {
|
||
|
|
||
|
# extract kamikaze generated vlan config
|
||
|
[ -f /etc/vlan ] || head -n5 /etc/config/network > /etc/vlan
|
||
|
|
||
|
# setup nvram variables
|
||
|
# now just a remnant of what was /usr/local/bin/nvram-setup
|
||
|
if [ "`nvram get boot_wait`" != "on" ]; then
|
||
|
nvram set boot_wait=on
|
||
|
nvram commit
|
||
|
fi
|
||
|
|
||
|
# run mode specific setup
|
||
|
[ -x /etc/config/local ] && /etc/config/local
|
||
|
}
|