Ticket #8417: create-profile-for-OpenRD.patch

File create-profile-for-OpenRD.patch, 1.7 KB (added by heil, 7 years ago)

create-profile-for-OpenRD.patch

  • base-files-OpenRD/etc/config/network

     
     1config 'interface' 'loopback' 
     2        option 'ifname' 'lo' 
     3        option 'proto' 'static' 
     4        option 'ipaddr' '127.0.0.1' 
     5        option 'netmask' '255.0.0.0' 
     6 
     7config 'interface' 'lan' 
     8        option 'ifname' 'eth0' 
     9        option 'proto' 'static' 
     10        option 'ipaddr' '192.168.1.1' 
     11        option 'netmask' '255.255.255.0' 
     12 
     13config 'interface' 'wan' 
     14        option 'ifname' 'eth1' 
     15        option 'proto' 'dhcp' 
     16 
  • profiles/400-OpenRD.mk

     
     1# 
     2# Copyright (C) 2010 OpenWrt.org 
     3# 
     4# This is free software, licensed under the GNU General Public License v2. 
     5# See /LICENSE for more information. 
     6# 
     7 
     8define Profile/OpenRD 
     9  NAME:=Globalscale OpenRD 
     10  PACKAGES:= 
     11endef 
     12 
     13define Profile/OpenRD/Description 
     14        Globalscale OpenRD Profile 
     15endef 
     16 
     17$(eval $(call Profile,OpenRD)) 
  • config-default

     
    9595# CONFIG_MACH_NET2BIG_V2 is not set 
    9696# CONFIG_MACH_NET5BIG_V2 is not set 
    9797# CONFIG_MACH_NETSPACE_V2 is not set 
    98 # CONFIG_MACH_OPENRD_BASE is not set 
    99 # CONFIG_MACH_OPENRD_CLIENT is not set 
     98CONFIG_MACH_OPENRD_BASE=y 
     99CONFIG_MACH_OPENRD_CLIENT=y 
    100100# CONFIG_MACH_RD88F6192_NAS is not set 
    101101# CONFIG_MACH_RD88F6281 is not set 
    102102CONFIG_MACH_SHEEVAPLUG=y