Просмотр исходного кода

malta: add default network configuration

I didn't figure out how to achieve this using uci-defaults-new.sh,
so use old-school uci-defaults script as that's what is used on
realview as well.

Signed-off-by: Daniel Golle <[email protected]>

SVN-Revision: 45857
John Crispin 10 лет назад
Родитель
Сommit
6938dac23b
1 измененных файлов с 6 добавлено и 0 удалено
  1. 6 0
      target/linux/malta/base-files/etc/uci-defaults/02-network

+ 6 - 0
target/linux/malta/base-files/etc/uci-defaults/02-network

@@ -0,0 +1,6 @@
+#!/bin/sh
+
+. /lib/functions/uci-defaults.sh
+
+ucidef_set_interface_loopback
+ucidef_set_interface_raw "lan" "eth0" "dhcp"