diff options
author | Felix Fietkau <nbd@openwrt.org> | 2006-06-27 00:36:13 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2006-06-27 00:36:13 +0000 |
commit | d746a3c00aa26d453d96f4fbba451f30cdc13287 (patch) | |
tree | ae453198d2fb7da5cf5a393bb85106cf10e919a0 /package/base-files/brcm-2.4 | |
parent | 1e3f11406db5fb18b66015416a38d416ba082c06 (diff) | |
download | upstream-d746a3c00aa26d453d96f4fbba451f30cdc13287.tar.gz upstream-d746a3c00aa26d453d96f4fbba451f30cdc13287.tar.bz2 upstream-d746a3c00aa26d453d96f4fbba451f30cdc13287.zip |
add copyright headers to base-files scripts and config files
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4090 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/base-files/brcm-2.4')
-rwxr-xr-x | package/base-files/brcm-2.4/bin/firstboot | 2 | ||||
-rw-r--r-- | package/base-files/brcm-2.4/etc/config/wireless | 2 | ||||
-rw-r--r-- | package/base-files/brcm-2.4/etc/hotplug.d/net/09-net | 2 | ||||
-rwxr-xr-x | package/base-files/brcm-2.4/etc/init.d/S05netconfig | 2 | ||||
-rwxr-xr-x | package/base-files/brcm-2.4/etc/preinit | 2 | ||||
-rwxr-xr-x | package/base-files/brcm-2.4/sbin/mount_root | 2 |
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 28189780bd..d37ce4f90b 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 a7e67435cf..9dc4945e07 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 9dd77963ba..48abdf4062 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 6a626f54a5..0f53c0c9c9 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 5b676ca3ac..fb13e107e5 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 8edac78543..ec82cd40fb 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))" |