summaryrefslogtreecommitdiffstats
path: root/package/base-files/brcm-2.4
diff options
context:
space:
mode:
Diffstat (limited to 'package/base-files/brcm-2.4')
-rwxr-xr-xpackage/base-files/brcm-2.4/bin/firstboot2
-rw-r--r--package/base-files/brcm-2.4/etc/config/wireless2
-rw-r--r--package/base-files/brcm-2.4/etc/hotplug.d/net/09-net2
-rwxr-xr-xpackage/base-files/brcm-2.4/etc/init.d/S05netconfig2
-rwxr-xr-xpackage/base-files/brcm-2.4/etc/preinit2
-rwxr-xr-xpackage/base-files/brcm-2.4/sbin/mount_root2
6 files changed, 11 insertions, 1 deletions
diff --git a/package/base-files/brcm-2.4/bin/firstboot b/package/base-files/brcm-2.4/bin/firstboot
index 28189780b..d37ce4f90 100755
--- a/package/base-files/brcm-2.4/bin/firstboot
+++ b/package/base-files/brcm-2.4/bin/firstboot
@@ -1,5 +1,5 @@
#!/bin/sh
-# $Id$
+# Copyright (C) 2006 OpenWrt.org
rom=$(awk '/squashfs/ {print $2}' /proc/mounts)
jffs=$(awk '/jffs2/ {print $2}' /proc/mounts)
diff --git a/package/base-files/brcm-2.4/etc/config/wireless b/package/base-files/brcm-2.4/etc/config/wireless
index a7e67435c..9dc4945e0 100644
--- a/package/base-files/brcm-2.4/etc/config/wireless
+++ b/package/base-files/brcm-2.4/etc/config/wireless
@@ -1,3 +1,5 @@
+# Copyright (C) 2006 OpenWrt.org
+
config wifi-device wl0
option type broadcom
option channel 5
diff --git a/package/base-files/brcm-2.4/etc/hotplug.d/net/09-net b/package/base-files/brcm-2.4/etc/hotplug.d/net/09-net
index 9dd77963b..48abdf406 100644
--- a/package/base-files/brcm-2.4/etc/hotplug.d/net/09-net
+++ b/package/base-files/brcm-2.4/etc/hotplug.d/net/09-net
@@ -1,4 +1,6 @@
#!/bin/sh
+# Copyright (C) 2006 OpenWrt.org
+
setup_wl()
{
[ -f /proc/net/wl0 ] && {
diff --git a/package/base-files/brcm-2.4/etc/init.d/S05netconfig b/package/base-files/brcm-2.4/etc/init.d/S05netconfig
index 6a626f54a..0f53c0c9c 100755
--- a/package/base-files/brcm-2.4/etc/init.d/S05netconfig
+++ b/package/base-files/brcm-2.4/etc/init.d/S05netconfig
@@ -1,4 +1,6 @@
#!/bin/sh
+# Copyright (C) 2006 OpenWrt.org
+
[ -e /etc/config/network ] && exit 0
mkdir -p /etc/config
diff --git a/package/base-files/brcm-2.4/etc/preinit b/package/base-files/brcm-2.4/etc/preinit
index 5b676ca3a..fb13e107e 100755
--- a/package/base-files/brcm-2.4/etc/preinit
+++ b/package/base-files/brcm-2.4/etc/preinit
@@ -1,4 +1,6 @@
#!/bin/sh
+# Copyright (C) 2006 OpenWrt.org
+
export PATH=/bin:/sbin:/usr/bin:/usr/sbin
mount none /proc -t proc
diff --git a/package/base-files/brcm-2.4/sbin/mount_root b/package/base-files/brcm-2.4/sbin/mount_root
index 8edac7854..ec82cd40f 100755
--- a/package/base-files/brcm-2.4/sbin/mount_root
+++ b/package/base-files/brcm-2.4/sbin/mount_root
@@ -1,4 +1,6 @@
#!/bin/sh
+# Copyright (C) 2006 OpenWrt.org
+
is_dirty() {
grep Broadcom /proc/cpuinfo >&- || return 1
OFFSET="$(($(hexdump -v /dev/mtdblock/1 -s 20 -n 2 -e '"%d"')-1))"