aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files/brcm-2.6
diff options
context:
space:
mode:
Diffstat (limited to 'package/base-files/brcm-2.6')
-rwxr-xr-xpackage/base-files/brcm-2.6/bin/firstboot2
-rw-r--r--package/base-files/brcm-2.6/etc/hotplug.d/net/09-net2
-rwxr-xr-xpackage/base-files/brcm-2.6/etc/init.d/S05netconfig2
-rwxr-xr-xpackage/base-files/brcm-2.6/etc/preinit2
-rwxr-xr-xpackage/base-files/brcm-2.6/sbin/mount_root2
5 files changed, 9 insertions, 1 deletions
diff --git a/package/base-files/brcm-2.6/bin/firstboot b/package/base-files/brcm-2.6/bin/firstboot
index 28189780bd..d37ce4f90b 100755
--- a/package/base-files/brcm-2.6/bin/firstboot
+++ b/package/base-files/brcm-2.6/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.6/etc/hotplug.d/net/09-net b/package/base-files/brcm-2.6/etc/hotplug.d/net/09-net
index 8bbf604df8..90a92bd2b0 100644
--- a/package/base-files/brcm-2.6/etc/hotplug.d/net/09-net
+++ b/package/base-files/brcm-2.6/etc/hotplug.d/net/09-net
@@ -1,4 +1,6 @@
#!/bin/sh
+# Copyright (C) 2006 OpenWrt.org
+
setup_eth()
{
[ -d /proc/switch ] || {
diff --git a/package/base-files/brcm-2.6/etc/init.d/S05netconfig b/package/base-files/brcm-2.6/etc/init.d/S05netconfig
index 6a626f54a5..0f53c0c9c9 100755
--- a/package/base-files/brcm-2.6/etc/init.d/S05netconfig
+++ b/package/base-files/brcm-2.6/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.6/etc/preinit b/package/base-files/brcm-2.6/etc/preinit
index 5b676ca3ac..fb13e107e5 100755
--- a/package/base-files/brcm-2.6/etc/preinit
+++ b/package/base-files/brcm-2.6/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.6/sbin/mount_root b/package/base-files/brcm-2.6/sbin/mount_root
index a3ada58908..e3bdd3655c 100755
--- a/package/base-files/brcm-2.6/sbin/mount_root
+++ b/package/base-files/brcm-2.6/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))"