add copyright headers to base-files scripts and config files
authorFelix Fietkau <nbd@openwrt.org>
Tue, 27 Jun 2006 00:36:13 +0000 (00:36 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Tue, 27 Jun 2006 00:36:13 +0000 (00:36 +0000)
SVN-Revision: 4090

40 files changed:
openwrt/package/base-files/ar7-2.4/bin/firstboot
openwrt/package/base-files/aruba-2.6/etc/config/network
openwrt/package/base-files/au1000-2.6/etc/config/network
openwrt/package/base-files/au1000-2.6/sbin/mount_root
openwrt/package/base-files/brcm-2.4/bin/firstboot
openwrt/package/base-files/brcm-2.4/etc/config/wireless
openwrt/package/base-files/brcm-2.4/etc/hotplug.d/net/09-net
openwrt/package/base-files/brcm-2.4/etc/init.d/S05netconfig
openwrt/package/base-files/brcm-2.4/etc/preinit
openwrt/package/base-files/brcm-2.4/sbin/mount_root
openwrt/package/base-files/brcm-2.6/bin/firstboot
openwrt/package/base-files/brcm-2.6/etc/hotplug.d/net/09-net
openwrt/package/base-files/brcm-2.6/etc/init.d/S05netconfig
openwrt/package/base-files/brcm-2.6/etc/preinit
openwrt/package/base-files/brcm-2.6/sbin/mount_root
openwrt/package/base-files/default/bin/ipcalc
openwrt/package/base-files/default/bin/login
openwrt/package/base-files/default/etc/functions.sh
openwrt/package/base-files/default/etc/hotplug.d/net/10-net
openwrt/package/base-files/default/etc/hotplug.d/usb/01-mount
openwrt/package/base-files/default/etc/init.d/S10boot
openwrt/package/base-files/default/etc/init.d/S50httpd
openwrt/package/base-files/default/etc/init.d/S50telnet
openwrt/package/base-files/default/etc/init.d/S60cron
openwrt/package/base-files/default/etc/init.d/S98done
openwrt/package/base-files/default/etc/init.d/rcS
openwrt/package/base-files/default/etc/nvram.sh
openwrt/package/base-files/default/sbin/hotplug
openwrt/package/base-files/default/sbin/ifdown
openwrt/package/base-files/default/sbin/ifup
openwrt/package/base-files/default/sbin/mount_root
openwrt/package/base-files/default/sbin/wifi
openwrt/package/base-files/default/usr/lib/common.awk
openwrt/package/base-files/default/usr/lib/parse-config.awk
openwrt/package/base-files/rb532-2.6/etc/config/network
openwrt/package/base-files/sibyte-2.6/etc/config/network
openwrt/package/base-files/sibyte-2.6/etc/inittab
openwrt/package/base-files/x86-2.4/etc/config/network
openwrt/package/base-files/x86-2.6/etc/config/network
openwrt/package/base-files/xscale-2.6/etc/config/network

index 955423be093c2d5953f229390db22c9a204427aa..774bbc754b476ec8bad9fa5c35c60495f80dbb80 100755 (executable)
@@ -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)
index f60332cd8cfefdc31e713a8d18ee1978185401eb..65797797eee1666e5ee7afd08e040a62960afa97 100644 (file)
@@ -1,4 +1,6 @@
 # Network configuration file
+# Copyright (C) 2006 OpenWrt.org
+
 
 ## LAN configuration
 lan_ifname="eth0"
index 2cc9e267171c2a5a1116f46cfc8999e4a8df78c9..576677bf7c44aa375217a88cf351713c192f73c4 100644 (file)
@@ -1,4 +1,5 @@
 # Network configuration file
+# Copyright (C) 2006 OpenWrt.org
 
 ## LAN configuration
 lan_ifname="br0"
index bc4165ca300345719b8e2c553f6bed6d198de328..718394ca4c09fcd01c06380d67a2a04b71fb44a3 100755 (executable)
@@ -1,4 +1,6 @@
 #!/bin/sh
+# Copyright (C) 2006 OpenWrt.org
+
 mount none /proc -t proc
 size=$(awk '/Mem:/ {l=5242880;print((s=$2/2)<l)?$2-l:s}' /proc/meminfo)
 mount none /tmp -t tmpfs -o size=$size
index 28189780bd275b1adfbc459091e7a7ee7e875fb8..d37ce4f90ba245fc067ceb8ae54bac8bc0abfc7c 100755 (executable)
@@ -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)
index a7e67435cffbdf0cdb5948f2b1e22b8c65c8884e..9dc4945e0709251bc6b098d7ca31f21bca59f1f7 100644 (file)
@@ -1,3 +1,5 @@
+# Copyright (C) 2006 OpenWrt.org
+
 config wifi-device     wl0
        option type     broadcom
        option channel  5
index 9dd77963ba9e6a43157f78ef79a8c54301659161..48abdf4062f3bbffd6232794f00f9ac41b19c573 100644 (file)
@@ -1,4 +1,6 @@
 #!/bin/sh
+# Copyright (C) 2006 OpenWrt.org
+
 setup_wl()
 {
        [ -f /proc/net/wl0 ] && {
index 6a626f54a5531991bfd47e20533287c3ad819694..0f53c0c9c97535ce29a24d3adfe8402d8c1d9386 100755 (executable)
@@ -1,4 +1,6 @@
 #!/bin/sh
+# Copyright (C) 2006 OpenWrt.org
+
 [ -e /etc/config/network ] && exit 0
 
 mkdir -p /etc/config
index 5b676ca3acf567677e65ae9b65e73ea5ad0173ba..fb13e107e5c172fa9ac27ec8ceffd8590826eef5 100755 (executable)
@@ -1,4 +1,6 @@
 #!/bin/sh
+# Copyright (C) 2006 OpenWrt.org
+
 export PATH=/bin:/sbin:/usr/bin:/usr/sbin
 mount none /proc -t proc
 
index 8edac78543e38f5cb165287ca22e7d19eecd037b..ec82cd40fbe4992d14e4e806954d950f5690f021 100755 (executable)
@@ -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))"
index 28189780bd275b1adfbc459091e7a7ee7e875fb8..d37ce4f90ba245fc067ceb8ae54bac8bc0abfc7c 100755 (executable)
@@ -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)
index 8bbf604df8dbc3fb70c2e53deb486aa962b9a1cc..90a92bd2b0c9da3534584e88c3d5a580907ca47d 100644 (file)
@@ -1,4 +1,6 @@
 #!/bin/sh
+# Copyright (C) 2006 OpenWrt.org
+
 setup_eth()
 {
        [ -d /proc/switch ] || {
index 6a626f54a5531991bfd47e20533287c3ad819694..0f53c0c9c97535ce29a24d3adfe8402d8c1d9386 100755 (executable)
@@ -1,4 +1,6 @@
 #!/bin/sh
+# Copyright (C) 2006 OpenWrt.org
+
 [ -e /etc/config/network ] && exit 0
 
 mkdir -p /etc/config
index 5b676ca3acf567677e65ae9b65e73ea5ad0173ba..fb13e107e5c172fa9ac27ec8ceffd8590826eef5 100755 (executable)
@@ -1,4 +1,6 @@
 #!/bin/sh
+# Copyright (C) 2006 OpenWrt.org
+
 export PATH=/bin:/sbin:/usr/bin:/usr/sbin
 mount none /proc -t proc
 
index a3ada58908926fc926bb307ba12af33093ecffb1..e3bdd3655c0fda1380612b0afae4a3fb2859f00b 100755 (executable)
@@ -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))"
index 318980e5a25f25de5cc53d065faf8571228af8a6..23af6a0c3b35aaab4b873b11562af038e3903af4 100755 (executable)
@@ -1,4 +1,5 @@
 #!/bin/sh
+# Copyright (C) 2006 OpenWrt.org
 
 awk -f /usr/lib/common.awk -f - $* <<EOF
 BEGIN {
index 8f9281726d5ac1d06cd7c038347973771cf2f608..ff5d3660e40df8608032d7c6a2e05f8f7adca69f 100755 (executable)
@@ -1,4 +1,6 @@
 #!/bin/sh
+# Copyright (C) 2006 OpenWrt.org
+
 grep '^root:[^!]' /etc/passwd >&- 2>&-
 [ "$?" = "0" -a -z "$FAILSAFE" ]  &&  
 {
index 3010196171e99a4cfb7b350ade881711d7c322ff..a7f7c42e22cfb3ea74a367111d4338fe3a1fa603 100755 (executable)
@@ -1,4 +1,6 @@
 #!/bin/sh
+# Copyright (C) 2006 OpenWrt.org
+
 alias debug=${DEBUG:-:}
 
 # newline
index b68ec1be28cce1465c1df4445733c7f4b9f90c16..f306ae342d79bca35e8c9ee341ab635bf07ac198 100644 (file)
@@ -1,4 +1,6 @@
 #!/bin/sh
+# Copyright (C) 2006 OpenWrt.org
+
 find_name()
 {
        for ifname in lan wan wifi ${ifnames}; do
index c28ada204ec01b0eab05bc328bb868e86585bc85..c4d356b0dac932a4313a0b05e00121d964d2858a 100644 (file)
@@ -1,3 +1,6 @@
+#!/bin/sh
+# Copyright (C) 2006 OpenWrt.org
+
 mount_storage() {
        cd /dev/discs
        for dev in disc*; do
index e0d15db0e06c30d05fd41587636da73945f221f9..cb5c6ac4a7750c949aaa8f90941cdde8d290b83a 100755 (executable)
@@ -1,4 +1,6 @@
 #!/bin/sh
+# Copyright (C) 2006 OpenWrt.org
+
 . /etc/functions.sh
 
 [ -f /proc/mounts ] || /sbin/mount_root
index a1b883d0a81cef21cfbf1890ec25d084b99973a6..d278519e981e24c9f1de769d96b33bc9099636c9 100755 (executable)
@@ -1,2 +1,4 @@
 #!/bin/sh
+# Copyright (C) 2006 OpenWrt.org
+
 [ -d /www ] && httpd -p 80 -h /www -r OpenWrt
index fb9687c8aa78fe4f45dce042c8e01a405d3d74ca..25242bdef87a568dcbbaa031c8aed0828889442e 100755 (executable)
@@ -1,2 +1,4 @@
 #!/bin/sh
+# Copyright (C) 2006 OpenWrt.org
+
 if awk -F: '/^root:/ && $2 !~ /\!/ {exit 1}' /etc/passwd 2>/dev/null; then telnetd -l /bin/login; fi
index 1752734267541a80a91ce50f1e9a2fd2fb26976b..6df9b7dee996a6605dca354d6f2b27c7a4e40ee7 100755 (executable)
@@ -1,4 +1,6 @@
 #!/bin/sh
+# Copyright (C) 2006 OpenWrt.org
+
 mkdir -p /var/spool/cron
 ln -s /etc/crontabs /var/spool/cron/crontabs
 crond -c /etc/crontabs
index 5d5ab49ce33f4e2a592958658d0c61bef8fd9552..a1ea5ad4389ffacce2dc7bbde4999ec718d34460 100755 (executable)
@@ -1,4 +1,6 @@
 #!/bin/sh
+# Copyright (C) 2006 OpenWrt.org
+
 sysctl -p >&-
 
 # automagically run firstboot
index b38e44978134571572183d746ccc805bc53d7937..dad989fe09e1a9a0b42fda950902d533a22b9b0b 100755 (executable)
@@ -1,4 +1,6 @@
 #!/bin/sh
+# Copyright (C) 2006 OpenWrt.org
+
 ${FAILSAFE:+exit}
 
 [ -f /etc/config/network ] && . /etc/config/network
index 4d39a102047676d7aac5de7a4357a4092257593c..ddbd88b52f5239cb600dab9126288d4e8da7a174 100644 (file)
@@ -1,4 +1,6 @@
 #!/bin/ash
+# Copyright (C) 2006 OpenWrt.org
+
 
 # allow env to override nvram
 nvram () {
index 106299343a31f42bf4da094ed77a758bdbe18dff..afe52a446f9cf3b9ef8a2a92adfe25a49378417c 100755 (executable)
@@ -1,4 +1,5 @@
 #!/bin/sh
+# Copyright (C) 2006 OpenWrt.org
 
 # bypass the normal hotplug path for firmware loading
 # would otherwise cause problems with drivers like bcm43xx
index 0d85ca8eab691c9b480de171726c13211f992945..50ffee53040bb5e76cb23f822c1e89a106bbf481 100755 (executable)
@@ -1,4 +1,6 @@
 #!/bin/sh
+# Copyright (C) 2006 OpenWrt.org
+
 [ $# = 0 ] && { echo "  $0 <group>"; exit; }
 . /etc/functions.sh
 . /etc/config/network
index a86a7671e81c46a790789f36fc0ffc73e2c2009b..390f96039502382887fc73453e4af5f4b5728f5d 100755 (executable)
@@ -1,4 +1,6 @@
 #!/bin/sh
+# Copyright (C) 2006 OpenWrt.org
+
 [ $# = 0 ] && { echo "  $0 <group>"; exit; }
 . /etc/functions.sh
 . /etc/config/network
index 647c25327add5b2987786c59d077295aa481394f..81660f00673e9097d924c157fdf551e75a573539 100755 (executable)
@@ -1,4 +1,6 @@
 #!/bin/sh
+# Copyright (C) 2006 OpenWrt.org
+
 mount none /proc -t proc
 size=$(awk '/Mem:/ {l=5242880;print((s=$2/2)<l)?$2-l:s}' /proc/meminfo)
 mount none /tmp -t tmpfs -o size=$size,nosuid,nodev,mode=1777
index b8b995bab2d48ec3cab52e878f6d5cc1990108bd..63b2f121bda4547b3fd1aa724b9db9e5b1df329c 100755 (executable)
@@ -1,4 +1,6 @@
 #!/bin/sh
+# Copyright (C) 2006 OpenWrt.org
+
 . /etc/functions.sh
 
 config_get_bool() {
index 63a8cf23d8aa53495e3fc924d80797917182bb7d..c5ce680fa6346026e68753956ca2b6c20822ed44 100644 (file)
@@ -1,3 +1,5 @@
+# Copyright (C) 2006 OpenWrt.org
+
 function portstr(type, str) {
        gsub(/-/, ":", str)
        if (insmod_mport != 1) {
index bde5c0072b48e14911f2b74e73463c3f986006ec..cf1b09c58cdfa972b88a0a23b8ecf7939d28b750 100644 (file)
@@ -1,3 +1,5 @@
+# Copyright (C) 2006 OpenWrt.org
+
 {
        line=$0
        gsub(/^[ \t]*/, "")
index f60332cd8cfefdc31e713a8d18ee1978185401eb..2bb48b886391bddee1befab5eb8a1a3e19ad9f08 100644 (file)
@@ -1,4 +1,5 @@
 # Network configuration file
+# Copyright (C) 2006 OpenWrt.org
 
 ## LAN configuration
 lan_ifname="eth0"
index 2cc9e267171c2a5a1116f46cfc8999e4a8df78c9..576677bf7c44aa375217a88cf351713c192f73c4 100644 (file)
@@ -1,4 +1,5 @@
 # Network configuration file
+# Copyright (C) 2006 OpenWrt.org
 
 ## LAN configuration
 lan_ifname="br0"
index 6eef29efbadbbbd1f8643b6195b39e52f3fd43f0..a6f4e17f01510d8d70b73b7d1ee470894ee10ac8 100644 (file)
@@ -1,3 +1,5 @@
+# Copyright (C) 2006 OpenWrt.org
+
 ::sysinit:/etc/init.d/rcS
 duart/0::askfirst:/bin/ash --login
 #tts/1::askfirst:/bin/ash --login
index fd0f557c049f7194d6676a7a7a05a728857b5e98..7bcfd0870a06a16e1aab4f09a9e045f5409c6477 100644 (file)
@@ -1,4 +1,5 @@
 # Network configuration file
+# Copyright (C) 2006 OpenWrt.org
 
 ## LAN configuration
 lan_ifname="br0"
index fd0f557c049f7194d6676a7a7a05a728857b5e98..7bcfd0870a06a16e1aab4f09a9e045f5409c6477 100644 (file)
@@ -1,4 +1,5 @@
 # Network configuration file
+# Copyright (C) 2006 OpenWrt.org
 
 ## LAN configuration
 lan_ifname="br0"
index f60332cd8cfefdc31e713a8d18ee1978185401eb..2bb48b886391bddee1befab5eb8a1a3e19ad9f08 100644 (file)
@@ -1,4 +1,5 @@
 # Network configuration file
+# Copyright (C) 2006 OpenWrt.org
 
 ## LAN configuration
 lan_ifname="eth0"