committing ipk sources
This commit is contained in:
14
lg_webOS/_ipk-building/base-files/ipk/bin/board_detect
Executable file
14
lg_webOS/_ipk-building/base-files/ipk/bin/board_detect
Executable file
@ -0,0 +1,14 @@
|
||||
#!/bin/sh
|
||||
|
||||
[ -d "/etc/board.d/" -a ! -f "/etc/board.json" ] && {
|
||||
for a in `ls /etc/board.d/*`; do
|
||||
[ -x $a ] || continue;
|
||||
$(. $a)
|
||||
done
|
||||
}
|
||||
|
||||
[ -f "/etc/board.json" ] || return 1
|
||||
[ -f "/etc/config/network" ] || {
|
||||
touch /etc/config/network
|
||||
/bin/config_generate
|
||||
}
|
Reference in New Issue
Block a user