2013-11-14 23:11:16 -07:00
|
|
|
#!/bin/sh /etc/rc.common
|
|
|
|
# Copyright (C) 2006 OpenWrt.org
|
|
|
|
|
|
|
|
START=99
|
|
|
|
boot() {
|
|
|
|
|
|
|
|
# extract kamikaze generated vlan config
|
2013-12-02 13:04:54 -07:00
|
|
|
#CMLARA Not needed on BULLETM's maybe needed on other devices
|
|
|
|
#[ -f /etc/vlan ] || head -n5 /etc/config/network > /etc/vlan
|
2013-11-14 23:11:16 -07:00
|
|
|
|
|
|
|
# setup nvram variables
|
2013-12-02 13:04:54 -07:00
|
|
|
[ -x /usr/local/bin/nvram-setup ] && /usr/local/bin/nvram-setup
|
2013-11-14 23:11:16 -07:00
|
|
|
|
|
|
|
# run mode specific setup
|
|
|
|
[ -x /etc/config/local ] && /etc/config/local
|
2013-12-02 13:04:54 -07:00
|
|
|
[ -x /etc/local/services ] && /etc/local/services
|
2013-11-14 23:11:16 -07:00
|
|
|
}
|