Initial commit
This commit is contained in:
13
target/linux/malta/base-files/etc/board.d/00_model
Executable file
13
target/linux/malta/base-files/etc/board.d/00_model
Executable file
@@ -0,0 +1,13 @@
|
||||
#!/bin/sh
|
||||
# Copyright (C) 2015 OpenWrt.org
|
||||
|
||||
. /lib/functions/uci-defaults.sh
|
||||
|
||||
board_config_update
|
||||
|
||||
ucidef_set_board_id "malta"
|
||||
ucidef_set_model_name "MIPS Malta"
|
||||
|
||||
board_config_flush
|
||||
|
||||
exit 0
|
||||
14
target/linux/malta/base-files/etc/board.d/02_network
Executable file
14
target/linux/malta/base-files/etc/board.d/02_network
Executable file
@@ -0,0 +1,14 @@
|
||||
#!/bin/sh
|
||||
|
||||
. /lib/functions/uci-defaults.sh
|
||||
|
||||
board_config_update
|
||||
|
||||
ucidef_set_interface_wan "eth0"
|
||||
if [ -d "/sys/class/net/eth1" ]; then
|
||||
ucidef_set_interface_lan "eth1"
|
||||
fi
|
||||
|
||||
board_config_flush
|
||||
|
||||
exit 0
|
||||
7
target/linux/malta/base-files/etc/inittab
Normal file
7
target/linux/malta/base-files/etc/inittab
Normal file
@@ -0,0 +1,7 @@
|
||||
::sysinit:/etc/init.d/rcS S boot
|
||||
::shutdown:/etc/init.d/rcS K shutdown
|
||||
tts/0::askfirst:/usr/libexec/login.sh
|
||||
ttyS0::askfirst:/usr/libexec/login.sh
|
||||
ttyS1::askfirst:/usr/libexec/login.sh
|
||||
ttyS2::askfirst:/usr/libexec/login.sh
|
||||
tty1::askfirst:/usr/libexec/login.sh
|
||||
Reference in New Issue
Block a user