Changeset 827
- Timestamp:
- 10/03/06 17:38:58 (2 years ago)
- Files:
-
- trunk/freewrt/mk/pkg-depend.mk (modified) (2 diffs)
- trunk/freewrt/mk/targets.mk (modified) (1 diff)
- trunk/freewrt/package/6tunnel/Config.in (modified) (1 diff)
- trunk/freewrt/package/Config.in (modified) (6 diffs)
- trunk/freewrt/package/Makefile (modified) (3 diffs)
- trunk/freewrt/package/aiccu/Config.in (modified) (1 diff)
- trunk/freewrt/package/base-files-arch/Makefile (modified) (3 diffs)
- trunk/freewrt/package/base-files/Makefile (modified) (1 diff)
- trunk/freewrt/package/base-files/files/etc/banner (modified) (1 diff)
- trunk/freewrt/package/base-files/files/etc/init.d/rcS (modified) (1 diff)
- trunk/freewrt/package/base-files/files/etc/ipkg.conf (modified) (1 diff)
- trunk/freewrt/package/base-files/files/etc/preinit (modified) (1 diff)
- trunk/freewrt/package/base-files/files/etc/profile (modified) (1 diff)
- trunk/freewrt/package/base-files/files/sbin/failsafe (modified) (1 diff)
- trunk/freewrt/package/base-files/files/usr/share/udhcpc/default.script (modified) (3 diffs)
- trunk/freewrt/package/broadcom-diag/diag_led.c (modified) (4 diffs)
- trunk/freewrt/package/broadcom-scripts (deleted)
- trunk/freewrt/package/broadcom-wl/Makefile (modified) (1 diff)
- trunk/freewrt/package/busybox/Makefile (modified) (2 diffs)
- trunk/freewrt/package/busybox/config/networking/Config.in (modified) (22 diffs)
- trunk/freewrt/package/busybox/files/bridge.pre-up (modified) (1 diff)
- trunk/freewrt/package/busybox/files/network.init (modified) (1 diff)
- trunk/freewrt/package/busybox/files/syslog.init (copied) (copied from branches/freewrt_1_0/package/busybox/files/syslog.init)
- trunk/freewrt/package/busybox/files/vlan.pre-up (modified) (2 diffs)
- trunk/freewrt/package/busybox/ipkg/busybox.postinst (modified) (1 diff)
- trunk/freewrt/package/config/mconf.c (modified) (1 diff)
- trunk/freewrt/package/dhcp6/Config.in (modified) (1 diff)
- trunk/freewrt/package/dropbear/files/dropbear.init (modified) (1 diff)
- trunk/freewrt/package/fuse/Makefile (modified) (1 diff)
- trunk/freewrt/package/iproute2/Makefile (modified) (1 diff)
- trunk/freewrt/package/liblzo/Makefile (modified) (3 diffs)
- trunk/freewrt/package/madwifi/Makefile (modified) (2 diffs)
- trunk/freewrt/package/mini_fo/Makefile (modified) (1 diff)
- trunk/freewrt/package/mrd6/Config.in (modified) (1 diff)
- trunk/freewrt/package/mrd6/Makefile (modified) (1 diff)
- trunk/freewrt/package/ndisc/Config.in (modified) (3 diffs)
- trunk/freewrt/package/openntpd/Makefile (modified) (2 diffs)
- trunk/freewrt/package/openntpd/files/ntpd.init (modified) (1 diff)
- trunk/freewrt/package/openssh/Makefile (modified) (1 diff)
- trunk/freewrt/package/openssh/files/sshd.init (modified) (1 diff)
- trunk/freewrt/package/openssh/ipkg/openssh-server.postinst (modified) (1 diff)
- trunk/freewrt/package/openssh/patches/cross-compile.patch (deleted)
- trunk/freewrt/package/openswan/Makefile (modified) (5 diffs)
- trunk/freewrt/package/openvpn/Config.in (modified) (1 diff)
- trunk/freewrt/package/openvpn/Makefile (modified) (3 diffs)
- trunk/freewrt/package/openvpn/files/openvpn-webif.init (deleted)
- trunk/freewrt/package/openvpn/files/openvpn.sh (deleted)
- trunk/freewrt/package/quagga/Makefile (modified) (2 diffs)
- trunk/freewrt/package/quagga/files/quagga.init (modified) (2 diffs)
- trunk/freewrt/package/quagga/ipkg/quagga.postinst (modified) (1 diff)
- trunk/freewrt/package/raddump/Config.in (modified) (1 diff)
- trunk/freewrt/package/radvd/Config.in (modified) (1 diff)
- trunk/freewrt/package/sdk (deleted)
- trunk/freewrt/package/shfs/Makefile (modified) (1 diff)
- trunk/freewrt/package/spca5xx/Makefile (modified) (2 diffs)
- trunk/freewrt/package/switch/Makefile (modified) (1 diff)
- trunk/freewrt/package/tinc/Config.in (modified) (1 diff)
- trunk/freewrt/package/tinc/patches/patch-configure (copied) (copied from branches/freewrt_1_0/package/tinc/patches/patch-configure)
- trunk/freewrt/package/tinc/patches/patch-m4_lzo_m4 (copied) (copied from branches/freewrt_1_0/package/tinc/patches/patch-m4_lzo_m4)
- trunk/freewrt/package/vsftpd/Makefile (modified) (2 diffs)
- trunk/freewrt/package/vsftpd/files/vsftpd.conf (modified) (1 diff)
- trunk/freewrt/package/vsftpd/files/vsftpd.init (modified) (1 diff)
- trunk/freewrt/package/vsftpd/ipkg/vsftpd.postinst (copied) (copied from branches/freewrt_1_0/package/vsftpd/ipkg/vsftpd.postinst)
- trunk/freewrt/package/vtun/Makefile (modified) (1 diff)
- trunk/freewrt/package/vtun/patches/patch-configure (copied) (copied from branches/freewrt_1_0/package/vtun/patches/patch-configure)
- trunk/freewrt/package/vtun/patches/patch-lfd_lzo_c (copied) (copied from branches/freewrt_1_0/package/vtun/patches/patch-lfd_lzo_c)
- trunk/freewrt/package/webif (deleted)
- trunk/freewrt/scripts/flash.sh (modified) (2 diffs)
- trunk/freewrt/scripts/ib.sh (copied) (copied from branches/freewrt_1_0/scripts/ib.sh)
- trunk/freewrt/target/Config.in (modified) (1 diff)
- trunk/freewrt/target/Makefile (modified) (1 diff)
- trunk/freewrt/target/image/brcm/Makefile (modified) (18 diffs)
- trunk/freewrt/target/image/generic/lzma-loader/Makefile (deleted)
- trunk/freewrt/target/image/generic/lzma-loader/src (deleted)
- trunk/freewrt/target/imagebuilder (deleted)
- trunk/freewrt/target/linux/brcm-2.4/Config.in (modified) (15 diffs)
- trunk/freewrt/target/linux/brcm-2.4/Makefile (modified) (11 diffs)
- trunk/freewrt/target/linux/brcm-2.4/asus-wl500g-deluxe/files/etc/network/interfaces (modified) (1 diff)
- trunk/freewrt/target/linux/brcm-2.4/asus-wl500g-deluxe/files/etc/preinit.arch (modified) (2 diffs)
- trunk/freewrt/target/linux/brcm-2.4/asus-wl500g-premium/files/etc/network/interfaces (modified) (1 diff)
- trunk/freewrt/target/linux/brcm-2.4/asus-wl500g-premium/files/etc/preinit.arch (modified) (2 diffs)
- trunk/freewrt/target/linux/brcm-2.4/asus-wl500g/files/etc/network/interfaces (modified) (2 diffs)
- trunk/freewrt/target/linux/brcm-2.4/asus-wl500g/files/etc/preinit.arch (modified) (1 diff)
- trunk/freewrt/target/linux/brcm-2.4/asus-wl500g/patches/003-bcm47xx_cache_fixes.patch (deleted)
- trunk/freewrt/target/linux/brcm-2.4/files/etc/init.d (deleted)
- trunk/freewrt/target/linux/brcm-2.4/files/etc/preinit.arch (deleted)
- trunk/freewrt/target/linux/brcm-2.4/jffs2/files/sbin/mount_root (modified) (1 diff)
- trunk/freewrt/target/linux/brcm-2.4/linksys-wrt54g-10/files/etc (copied) (copied from branches/freewrt_1_0/target/linux/brcm-2.4/linksys-wrt54g-10/files/etc)
- trunk/freewrt/target/linux/brcm-2.4/linksys-wrt54g-10/patches/003-bcm47xx_cache_fixes.patch (deleted)
- trunk/freewrt/target/linux/brcm-2.4/linksys-wrt54g-11/files/etc (copied) (copied from branches/freewrt_1_0/target/linux/brcm-2.4/linksys-wrt54g-11/files/etc)
- trunk/freewrt/target/linux/brcm-2.4/linksys-wrt54g-11/patches/003-bcm47xx_cache_fixes.patch (deleted)
- trunk/freewrt/target/linux/brcm-2.4/linksys-wrt54g-20/files/etc (copied) (copied from branches/freewrt_1_0/target/linux/brcm-2.4/linksys-wrt54g-20/files/etc)
- trunk/freewrt/target/linux/brcm-2.4/linksys-wrt54g-22/files/etc (copied) (copied from branches/freewrt_1_0/target/linux/brcm-2.4/linksys-wrt54g-22/files/etc)
- trunk/freewrt/target/linux/brcm-2.4/linksys-wrt54g-30/files/etc (copied) (copied from branches/freewrt_1_0/target/linux/brcm-2.4/linksys-wrt54g-30/files/etc)
- trunk/freewrt/target/linux/brcm-2.4/linksys-wrt54g-31 (copied) (copied from branches/freewrt_1_0/target/linux/brcm-2.4/linksys-wrt54g-31)
- trunk/freewrt/target/linux/brcm-2.4/linksys-wrt54g-4 (copied) (copied from branches/freewrt_1_0/target/linux/brcm-2.4/linksys-wrt54g-4)
- trunk/freewrt/target/linux/brcm-2.4/linksys-wrt54g3g/files/etc/preinit.arch (copied) (copied from branches/freewrt_1_0/target/linux/brcm-2.4/linksys-wrt54g3g/files/etc/preinit.arch)
- trunk/freewrt/target/linux/brcm-2.4/linksys-wrt54gl/files/etc (copied) (copied from branches/freewrt_1_0/target/linux/brcm-2.4/linksys-wrt54gl/files/etc)
- trunk/freewrt/target/linux/brcm-2.4/linksys-wrt54gs-10/files/etc/network/interfaces (modified) (1 diff)
- trunk/freewrt/target/linux/brcm-2.4/linksys-wrt54gs-10/files/etc/preinit.arch (copied) (copied from branches/freewrt_1_0/target/linux/brcm-2.4/linksys-wrt54gs-10/files/etc/preinit.arch)
- trunk/freewrt/target/linux/brcm-2.4/linksys-wrt54gs-11/files/etc (copied) (copied from branches/freewrt_1_0/target/linux/brcm-2.4/linksys-wrt54gs-11/files/etc)
- trunk/freewrt/target/linux/brcm-2.4/linksys-wrt54gs-4/files/etc (copied) (copied from branches/freewrt_1_0/target/linux/brcm-2.4/linksys-wrt54gs-4/files/etc)
- trunk/freewrt/target/linux/brcm-2.4/patches/004-bcm47xx_cache_fixes.patch (copied) (copied from branches/freewrt_1_0/target/linux/brcm-2.4/patches/004-bcm47xx_cache_fixes.patch)
- trunk/freewrt/target/linux/brcm-2.4/squashfs-overlay/files/sbin/mount_root (modified) (1 diff)
- trunk/freewrt/target/linux/brcm-2.4/squashfs-symlinks/files/etc/init.d/S20jffsclean (deleted)
- trunk/freewrt/target/linux/brcm-2.4/squashfs-symlinks/files/sbin/mount_root (modified) (2 diffs)
- trunk/freewrt/target/linux/control/kernel.control (copied) (copied from branches/freewrt_1_0/target/linux/control/kernel.control)
- trunk/freewrt/target/linux/generic-2.4/patches/050-build_flags.patch (modified) (1 diff)
- trunk/freewrt/tools/Makefile (modified) (1 diff)
- trunk/freewrt/tools/brcm-utils/Makefile (modified) (1 diff)
- trunk/freewrt/tools/brcm-utils/src/asustrx.c (deleted)
- trunk/freewrt/tools/brcm-utils/src/trx.c (modified) (9 diffs)
- trunk/freewrt/tools/failsafe (copied) (copied from branches/freewrt_1_0/tools/failsafe)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/freewrt/mk/pkg-depend.mk
r739 r827 22 22 digitemp-compile: libusb-compile 23 23 dsniff-compile: libnids-compile openssl-compile libgdbm-compile 24 elinks-compile: openssl-compile 24 25 fprobe-compile: libpcap-compile 25 26 freetype-compile: zlib-compile … … 64 65 mutt-compile: ncurses-compile openssl-compile 65 66 mysql-compile: ncurses-compile zlib-compile readline-compile 67 mrd6-compile: uclibc++-compile 66 68 nano-compile: ncurses-compile 67 69 net-snmp-compile: libelf-compile trunk/freewrt/mk/targets.mk
r725 r827 48 48 # set architecture 49 49 ifeq ($(BOARD),brcm) 50 ARCH=mips 51 K ARCH=mipsel50 CPU_ARCH=mipsel 51 KERNEL_ARCH=mips 52 52 endif 53 53 54 54 export BOARD 55 export ARCH56 export K ARCH55 export CPU_ARCH 56 export KERNEL_ARCH 57 57 export KERNEL 58 58 export KERNEL_VERSION trunk/freewrt/package/6tunnel/Config.in
r600 r827 4 4 default n 5 5 select FWRT_PACKAGE_KMOD_IPV6 6 select BUSYBOX_CONFIG_FEATURE_IPV6 6 7 help 7 8 6tunnel allows you to use services provided by IPv6 hosts with IPv4-only trunk/freewrt/package/Config.in
r798 r827 9 9 choice 10 10 prompt "Package collections" 11 12 11 config FWRT_NO_PACKAGE_SELECTION 13 12 bool "nothing pre-selected, choose yourself" … … 16 15 model, busybox, dropbear and base-file packages. 17 16 18 config FWRT_WLAN_DSL_ROUTER 19 bool "WLAN Router for DSL with web interface" 20 select FWRT_PACKAGE_WEBIF 17 config FWRT_WLAN_DSL_ROUTER_PPPOE 18 bool "WLAN Router for DSL with PPPoE" 21 19 select FWRT_PACKAGE_IPTABLES 22 20 select FWRT_PACKAGE_DNSMASQ … … 28 26 select FWRT_PACKAGE_EZIPUPDATE 29 27 help 30 Firmware for WLAN DSL router . It selects web interface, dns31 server, dhcp server, iptables, bridge-utils, WPA/WPA232 daemon, openntpd, ez-ipupdate and ppp.33 34 config FWRT_ OPENVPN_ROUTER35 bool " Router for DSL with OpenVPN"28 Firmware for WLAN DSL router with pppoe. It selects a dns server, 29 dhcp server, iptables, bridge-utils, WPA/WPA2 daemon, openntpd, 30 ez-ipupdate and ppp. 31 32 config FWRT_WLAN_DSL_ROUTER_PPTP 33 bool "WLAN Router for DSL with PPTP" 36 34 select FWRT_PACKAGE_IPTABLES 37 35 select FWRT_PACKAGE_DNSMASQ 38 select FWRT_PACKAGE_PPP 39 select FWRT_PACKAGE_PPP_MOD_PPPOE 36 select FWRT_PACKAGE_BRIDGE_UTILS 37 select FWRT_PACKAGE_BROADCOM_NAS 38 select FWRT_PACKAGE_PPTP 40 39 select FWRT_PACKAGE_OPENNTPD 41 select FWRT_PACKAGE_OPENVPN 42 help 43 Firmware for DSL router with OpenVPN. It selects dns server, 44 dhcp server, iptables, openntpd, ppp and openvpn. 45 46 config FWRT_IPSEC_ROUTER 47 bool "Router for DSL with IPSec" 40 select FWRT_PACKAGE_EZIPUPDATE 41 help 42 Firmware for WLAN DSL router with pppoe. It selects a dns server, 43 dhcp server, iptables, bridge-utils, WPA/WPA2 daemon, openntpd, 44 ez-ipupdate and pptp. 45 46 config FWRT_WLAN_DSL_ROUTER_DHCP 47 bool "WLAN Router for DSL with DHCP (cable modem)" 48 48 select FWRT_PACKAGE_IPTABLES 49 49 select FWRT_PACKAGE_DNSMASQ 50 select FWRT_PACKAGE_PPP 51 select FWRT_PACKAGE_PPP_MOD_PPPOE 50 select FWRT_PACKAGE_BRIDGE_UTILS 51 select FWRT_PACKAGE_BROADCOM_NAS 52 select FWRT_PACKAGE_PPTP 52 53 select FWRT_PACKAGE_OPENNTPD 53 select FWRT_PACKAGE_OPENSWAN 54 help 55 Firmware for DSL router with IPSec. It selects dns server, 56 dhcp server, iptables, openntpd, ppp and openswan. 54 select FWRT_PACKAGE_EZIPUPDATE 55 help 56 Firmware for WLAN DSL router with dhcp client for wan interface. It 57 selects a dns server, dhcp server, iptables, bridge-utils, WPA/WPA2 58 daemon, openntpd, ez-ipupdate. 59 60 config FWRT_OPENVPN_ROUTER 61 bool "Router for DSL with OpenVPN" 62 select FWRT_PACKAGE_IPTABLES 63 select FWRT_PACKAGE_DNSMASQ 64 select FWRT_PACKAGE_PPP 65 select FWRT_PACKAGE_PPP_MOD_PPPOE 66 select FWRT_PACKAGE_OPENNTPD 67 select FWRT_PACKAGE_OPENVPN 68 help 69 Firmware for DSL router with OpenVPN. It selects dns server, 70 dhcp server, iptables, openntpd, ppp and openvpn. 71 72 config FWRT_IPSEC_ROUTER 73 bool "Router for DSL with IPSec" 74 select FWRT_PACKAGE_IPTABLES 75 select FWRT_PACKAGE_DNSMASQ 76 select FWRT_PACKAGE_PPP 77 select FWRT_PACKAGE_PPP_MOD_PPPOE 78 select FWRT_PACKAGE_OPENNTPD 79 select FWRT_PACKAGE_OPENSWAN 80 help 81 Firmware for DSL router with IPSec. It selects dns server, 82 dhcp server, iptables, openntpd, ppp and openswan. 57 83 58 84 endchoice … … 69 95 menu "Broadcom-specific packages" 70 96 source "package/broadcom-nas/Config.in" 71 source "package/broadcom-scripts/Config.in"72 97 source "package/nvram/Config.in" 73 98 source "package/jffs2root/Config.in" 74 99 source "package/mtd/Config.in" 75 100 source "package/broadcom-watchbutton/Config.in" 76 source "package/webif/Config.in"77 source "package/webif2/Config.in"78 101 endmenu 79 102 endmenu … … 408 431 409 432 menu "Extra stuff" 410 #source "package/sdk/Config.in"411 433 412 434 config FWRT_PREFIX … … 427 449 source "package/mypackage/Config.in" 428 450 429 config FWRT_PACKAGE_IMAGEBUILDER430 bool "Image Builder"431 default n432 help433 Build an Image Builder.434 This package contains the necessary (precompiled) tools and all packages to generate435 firmware images from package lists, without having to use the full buildroot.436 Useful for building images with custom scripts or extra packages.437 438 451 comment "Runtime Configuration" 439 452 trunk/freewrt/package/Makefile
r786 r827 23 23 package-$(FWRT_PACKAGE_BRIDGE_UTILS) += bridge-utils 24 24 package-$(FWRT_PACKAGE_BROADCOM_NAS) += broadcom-nas 25 package-$(FWRT_PACKAGE_BROADCOM_SCRIPTS) += broadcom-scripts26 25 package-$(FWRT_PACKAGE_BROADCOM_WATCHBUTTON) += broadcom-watchbutton 27 26 package-$(FWRT_PACKAGE_BUSYBOX) += busybox … … 238 237 package-$(FWRT_PACKAGE_SCDP) += scdp 239 238 package-$(FWRT_PACKAGE_SCREEN) += screen 240 package-$(FWRT_PACKAGE_SDK) += sdk241 239 package-$(FWRT_PACKAGE_SER2NET) += ser2net 242 240 package-$(FWRT_PACKAGE_SERDISPLIB) += serdisplib … … 286 284 package-$(FWRT_PACKAGE_WATCHDOG) += watchdog 287 285 package-$(FWRT_PACKAGE_WCCPD) += wccpd 288 package-$(FWRT_PACKAGE_WEBIF) += webif289 286 package-$(FWRT_PACKAGE_WEBIF2) += webif2 290 287 package-$(FWRT_PACKAGE_WEECHAT) += weechat trunk/freewrt/package/aiccu/Config.in
r600 r827 5 5 select FWRT_PACKAGE_KMOD_IPV6 6 6 select FWRT_PACKAGE_LIBPTHREAD 7 select BUSYBOX_CONFIG_FEATURE_IPV6 7 8 help 8 9 SixXS Automatic IPv6 Connectivity Client Utility trunk/freewrt/package/base-files-arch/Makefile
r719 r827 10 10 PKG_NAME:= base-files-arch 11 11 PKG_VERSION:= 1.0 12 PKG_RELEASE:= 212 PKG_RELEASE:= 3 13 13 14 14 WRKSRC= ${WRKDIR}/$(PKG_NAME) … … 18 18 19 19 IDIR_BASE_ARCH:=$(WRKBUILD)/$(PKG_NAME)-$(PKG_VERSION) 20 IPKG_BASE_ARCH:=$(PACKAGE_DIR)/base-files- arch_$(PKG_VERSION)-$(PKG_RELEASE)_$(ARCH).ipk20 IPKG_BASE_ARCH:=$(PACKAGE_DIR)/base-files-$(BOARD)-$(KERNEL)-$(MODEL)-$(FS)_$(PKG_VERSION)-$(PKG_RELEASE)_$(ARCH).ipk 21 21 22 22 $(WRKBUILD)/.prepared: … … 32 32 $(IPKG_BASE_ARCH): 33 33 mkdir -p $(IDIR_BASE_ARCH) 34 $(SCRIPT_DIR)/make-ipkg-dir.sh $(IDIR_BASE_ARCH) ipkg/$(PKG_NAME).control $(PKG_VERSION)-$(PKG_RELEASE) $(ARCH) 34 $(CP) ipkg/$(PKG_NAME).control \ 35 $(WRKBUILD)/base-files-$(BOARD)-$(KERNEL)-$(MODEL)-$(FS).control 36 $(SED) "s/base-files-arch/base-files-$(BOARD)-$(KERNEL)-$(MODEL)-$(FS)/" \ 37 $(WRKBUILD)/base-files-$(BOARD)-$(KERNEL)-$(MODEL)-$(FS).control 38 $(SCRIPT_DIR)/make-ipkg-dir.sh $(IDIR_BASE_ARCH) \ 39 $(WRKBUILD)/base-files-$(BOARD)-$(KERNEL)-$(MODEL)-$(FS).control \ 40 $(PKG_VERSION)-$(PKG_RELEASE) $(ARCH) 35 41 -[ -d $(TOPDIR)/target/linux/$(BOARD)-$(KERNEL)/files ] && \ 36 42 $(CP) $(TOPDIR)/target/linux/$(BOARD)-$(KERNEL)/files/* $(IDIR_BASE_ARCH) trunk/freewrt/package/base-files/Makefile
r719 r827 10 10 PKG_NAME:= base-files 11 11 PKG_VERSION:= 1.0 12 PKG_RELEASE:= 1 312 PKG_RELEASE:= 15 13 13 WRKSRC= ${WRKDIR}/base-files 14 14 trunk/freewrt/package/base-files/files/etc/banner
r105 r827 8 8 9 9 ---- functional and secure GNU/Linux distribution ---- 10 -------- snapshot from subversion revision $R-------10 --------------- version 1.0 revision $R ------------- trunk/freewrt/package/base-files/files/etc/init.d/rcS
r191 r827 1 1 #!/bin/sh 2 ${FAILSAFE:+exit}3 4 syslogd -C 165 klogd6 7 2 for i in /etc/init.d/S*; do 8 3 $i autostart 2>&1 trunk/freewrt/package/base-files/files/etc/ipkg.conf
r299 r827 1 src freewrt http://www.freewrt.org/downloads/ snapshots/@TARGET@/packages1 src freewrt http://www.freewrt.org/downloads/@TARGET@/packages 2 2 dest root / 3 3 dest ram /tmp trunk/freewrt/package/base-files/files/etc/preinit
r696 r827 2 2 export PATH=/bin:/sbin:/usr/bin:/usr/sbin 3 3 mount none /proc -t proc 4 [ -f /etc/preinit.arch ] && . /etc/preinit.arch 5 failsafe || /bin/sh 4 6 cat /etc/.rnd >/dev/urandom 2>&1 5 failsafe_if=eth0 6 [ -f /etc/preinit.arch ] && . /etc/preinit.arch 7 export failsafe_if 8 failsafe 9 insmod mini_fo 2>&- 10 mount_root ${FAILSAFE:+failsafe} 11 unset failsafe_if 7 mount_root 12 8 fwcf setup 2>&1 | logger -t fwcf 13 9 exec /sbin/init trunk/freewrt/package/base-files/files/etc/profile
r788 r827 6 6 cat /etc/banner 2>&- 7 7 8 [ -x /sbin/ifconfig ] || alias ifconfig='ip addr show' 9 [ -x /sbin/route ] || alias route='ip route show' 8 10 [ -x /usr/bin/less ] || alias less=more 9 11 [ -x /usr/bin/vim ] || alias vim=vi trunk/freewrt/package/base-files/files/sbin/failsafe
r703 r827 1 1 #!/bin/sh 2 2 3 i fconfig $failsafe_if 192.168.1.1 netmask 255.255.255.0 broadcast 192.168.1.255 up4 netmsg 192.168.1.0 "(dummy message)" 3 ip link set up dev eth0 4 ip addr add 192.168.1.1/24 broadcast 192.168.1.255 dev eth0 5 5 netmsg 192.168.1.255 "Press reset now, to enter Failsafe!" 6 echo "Press reset now to enter Failsafe for ${failsafe_if}!"6 echo "Press reset now to enter Failsafe!" 7 7 sleep 2 8 8 9 if [ "$(</proc/sys/reset 2>&-)"= 1 ]; then9 if [ $(cat /proc/sys/reset) = 1 ]; then 10 10 while :; do 11 11 echo $(((X=(X+1)%8)%2)) >/proc/sys/diag 12 12 sleep $((X==0)) 13 13 done & 14 export FAILSAFE=true15 14 netmsg 192.168.1.255 "Entering Failsafe!" 16 15 telnetd 16 exit 1 17 17 else 18 ifconfig $failsafe_if 0.0.0.0 19 # revert to the boot loader's vlan config 20 # required for at least WRT54G v1.1 21 [ -d /proc/switch/eth0 ] && { 22 echo "$v0p" >/proc/switch/eth0/vlan/0/ports 23 echo "$v1p" >/proc/switch/eth0/vlan/1/ports 24 echo "$v2p" >/proc/switch/eth0/vlan/2/ports 25 } 18 ip addr flush dev eth0 26 19 fi trunk/freewrt/package/base-files/files/usr/share/udhcpc/default.script
r272 r827 4 4 RESOLV_CONF="/tmp/resolv.conf" 5 5 6 hotplug_event() {7 nvram show 2>&- | grep _proto=dhcp | {8 while :; do9 read FOO10 [ -z "$FOO" ] && break11 FOO="${FOO%%_*}"12 [ "$(nvram get ${FOO}_ifname)" = "${interface}" ] || continue13 env -i ACTION="$1" INTERFACE="${FOO}" PROTO=dhcp /sbin/hotplug iface14 done15 }16 }17 18 6 case "$1" in 19 7 deconfig) 20 ifconfig $interface 0.0.0.0 21 hotplug_event ifdown 8 ip addr flush $interface 22 9 ;; 23 10 renew|bound) 24 ifconfig $interface $ip \ 25 netmask ${subnet:-255.255.255.0} \ 26 broadcast ${broadcast:-+} 11 ip addr add $ip/${mask:-24} dev $interface 27 12 28 13 if [ -n "$router" ] ; then 29 14 echo "deleting routers" 30 while route del default gw 0.0.0.0 dev $interface>&- 2>&- ; do :; done15 while ip route del default >&- 2>&- ; do :; done 31 16 32 17 for i in $router ; do 33 18 echo "adding router $i" 34 route add default gw $i dev $interface19 ip route add to default via $i 35 20 done 36 21 fi … … 43 28 done 44 29 45 hotplug_event ifup46 47 30 # user rules 48 31 [ -f /etc/udhcpc.user ] && . /etc/udhcpc.user … … 50 33 esac 51 34 52 exit 035 exit $? trunk/freewrt/package/broadcom-diag/diag_led.c
r573 r827 1 1 /* 2 * diag_led.c - replacement diag module2 * diag_led.c - led and reset button driver for broadcom routers 3 3 * 4 4 * Copyright (C) 2004-2006 Mike Baker, … … 20 20 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 21 21 * 22 * $Id: 005-diag_led.patch 3355 2006-03-13 07:57:51Z nbd $23 22 */ 24 23 … … 210 209 211 210 board_type = sb_boardtype(sbh); 212 printk(KERN_INFO "diag boardtype: %08x\n",board_type);213 211 214 212 set_diag=ignore; … … 273 271 } 274 272 if (!strcmp(buf,"45")) { 275 //wl-500g deluxe 276 reset_gpio=(1<<6); 273 buf=nvram_get("boardtype")?:""; 274 if (!strcmp(buf,"0x042f")) { 275 //wl-500g premium 276 printk("diag: Asus WL500g premium found\n"); 277 // special button reset_gpio=(1<<4); 278 reset_gpio=(1<<0); 279 } else { 280 //wl-500g deluxe 281 printk("diag: Asus WL500g deluxe found\n"); 282 reset_gpio=(1<<6); 283 } 277 284 } 278 285 } trunk/freewrt/package/broadcom-wl/Makefile
r600 r827 27 27 $(MAKE) -C "$(LINUX_DIR)" \ 28 28 CROSS_COMPILE="$(TARGET_CROSS)" \ 29 ARCH="$( ARCH)" \29 ARCH="$(KERNEL_ARCH)" \ 30 30 PATH="$(TARGET_PATH)" \ 31 31 SUBDIRS="$(WRKBUILD)" \ trunk/freewrt/package/busybox/Makefile
r743 r827 8 8 9 9 PKG_NAME:= busybox 10 PKG_RELEASE:= 410 PKG_RELEASE:= 5 11 11 PKG_VERSION:= 1.1.3 12 12 PKG_MD5SUM:= 19a0b475169335f17e421cf644616fe7 … … 34 34 EXTRA_CFLAGS="$(TARGET_CFLAGS)" -C $(WRKBUILD) install 35 35 $(INSTALL_DIR) $(IDIR_BUSYBOX)/etc/init.d/ 36 $(INSTALL_BIN) ./files/syslog.init \ 37 $(IDIR_BUSYBOX)/etc/init.d/S05syslog 36 38 $(INSTALL_BIN) ./files/network.init \ 37 39 $(IDIR_BUSYBOX)/etc/init.d/S40network trunk/freewrt/package/busybox/config/networking/Config.in
r763 r827 23 23 default n 24 24 help 25 Small and static DNS server d eamon.25 Small and static DNS server daemon. 26 26 27 27 config BUSYBOX_CONFIG_ETHER_WAKE … … 58 58 config BUSYBOX_CONFIG_HTTPD 59 59 bool "httpd" 60 default y60 default n 61 61 help 62 62 Serve web pages via an HTTP server. … … 127 127 depends on BUSYBOX_CONFIG_FEATURE_HTTPD_CGI 128 128 help 129 This option enables support for running scripts through an 130 interpreter. Turn this on, if you want PHP scripts to work 131 properly. You need to supply an addition line in your httpd 129 This option enables support for running scripts through an 130 interpreter. Turn this on, if you want PHP scripts to work 131 properly. You need to supply an addition line in your httpd 132 132 config file: 133 133 *.php:/path/to/your/php … … 153 153 config BUSYBOX_CONFIG_IFCONFIG 154 154 bool "ifconfig" 155 default y155 default n 156 156 help 157 157 Ifconfig is used to configure the kernel-resident network interfaces. … … 159 159 config BUSYBOX_CONFIG_FEATURE_IFCONFIG_STATUS 160 160 bool " Enable status reporting output (+7k)" 161 default y161 default n 162 162 depends on BUSYBOX_CONFIG_IFCONFIG 163 163 help … … 183 183 config BUSYBOX_CONFIG_FEATURE_IFCONFIG_HW 184 184 bool " Enable option \"hw\" (ether only)" 185 default y185 default n 186 186 depends on BUSYBOX_CONFIG_IFCONFIG 187 187 help … … 192 192 config BUSYBOX_CONFIG_FEATURE_IFCONFIG_BROADCAST_PLUS 193 193 bool " Set the broadcast automatically" 194 default y194 default n 195 195 depends on BUSYBOX_CONFIG_IFCONFIG 196 196 help … … 217 217 config BUSYBOX_CONFIG_FEATURE_IFUPDOWN_IP 218 218 bool " Use ip applet" 219 default n219 default y 220 220 depends on BUSYBOX_CONFIG_IFUPDOWN 221 221 help … … 225 225 config BUSYBOX_CONFIG_FEATURE_IFUPDOWN_IP_BUILTIN 226 226 bool " Use busybox ip applet" 227 default n227 default y 228 228 depends on BUSYBOX_CONFIG_FEATURE_IFUPDOWN_IP 229 229 select BUSYBOX_CONFIG_IP … … 237 237 utility or the "ifup" and "ifdown" applets will not work. 238 238 239 config BUSYBOX_CONFIG_FEATURE_IFUPDOWN_IP_BUILTIN240 bool " Use busybox ifconfig and route applets"241 default y242 depends on BUSYBOX_CONFIG_IFUPDOWN && !CONFIG_FEATURE_IFUPDOWN_IP243 select BUSYBOX_CONFIG_IFCONFIG244 select BUSYBOX_CONFIG_ROUTE245 help246 Use the busybox iproute "ifconfig" and "route" applets to247 implement the "ifup" and "ifdown" utilities.248 249 If leave this disabled, you must install the full-blown ifconfig250 and route utilities, or the "ifup" and "ifdown" applets will not251 work.252 253 239 config BUSYBOX_CONFIG_FEATURE_IFUPDOWN_IPV4 254 240 bool " Enable support for IPv4" … … 260 246 config BUSYBOX_CONFIG_FEATURE_IFUPDOWN_IPV6 261 247 bool " Enable support for IPv6" 262 default y248 default n 263 249 depends on BUSYBOX_CONFIG_IFUPDOWN 264 250 help … … 332 318 config BUSYBOX_CONFIG_IP 333 319 bool "ip" 334 default n320 default y 335 321 help 336 322 The "ip" applet is a TCP/IP interface configuration and routing … … 410 396 config BUSYBOX_CONFIG_IPADDR 411 397 bool "ipaddr" 412 default n398 default y 413 399 help 414 400 Equivalent to selecting address support to "ip", above. … … 416 402 config BUSYBOX_CONFIG_IPLINK 417 403 bool "iplink" 418 default n404 default y 419 405 help 420 406 Equivalent to selecting link support to "ip", above. … … 422 408 config BUSYBOX_CONFIG_IPROUTE 423 409 bool "iproute" 424 default n410 default y 425 411 help 426 412 Equivalent to selecting route support to "ip", above. … … 428 414 config BUSYBOX_CONFIG_IPTUNNEL 429 415 bool "iptunnel" 430 default n416 default y 431 417 help 432 418 Equivalent to selecting tunnel support to "ip", above. … … 452 438 A simple Unix utility which reads and writes data across network 453 439 connections. 454 440 455 441 config BUSYBOX_CONFIG_NETMSG 456 442 bool "netmsg" … … 496 482 config BUSYBOX_CONFIG_PING6 497 483 bool "ping6" 498 default y484 default n 499 485 depends on BUSYBOX_CONFIG_FEATURE_IPV6 500 486 help … … 503 489 config BUSYBOX_CONFIG_FEATURE_FANCY_PING6 504 490 bool " Enable fancy ping6 output" 505 default y491 default n 506 492 depends on BUSYBOX_CONFIG_PING6 507 493 help … … 511 497 config BUSYBOX_CONFIG_ROUTE 512 498 bool "route"
