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 | f804d0ea1d131152acccd2a108c231fe07c4196c (patch) | |
tree | 9e645cd7f30ba5db61ca860cb8a1d9626dfc152a /openwrt/package/base-files/brcm-2.6 | |
parent | 3e639bb44e72036b1b16f07025a7997fa561124d (diff) | |
download | mtk-20170518-f804d0ea1d131152acccd2a108c231fe07c4196c.zip mtk-20170518-f804d0ea1d131152acccd2a108c231fe07c4196c.tar.gz mtk-20170518-f804d0ea1d131152acccd2a108c231fe07c4196c.tar.bz2 |
add copyright headers to base-files scripts and config files
SVN-Revision: 4090
Diffstat (limited to 'openwrt/package/base-files/brcm-2.6')
5 files changed, 9 insertions, 1 deletions
diff --git a/openwrt/package/base-files/brcm-2.6/bin/firstboot b/openwrt/package/base-files/brcm-2.6/bin/firstboot index 2818978..d37ce4f 100755 --- a/openwrt/package/base-files/brcm-2.6/bin/firstboot +++ b/openwrt/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/openwrt/package/base-files/brcm-2.6/etc/hotplug.d/net/09-net b/openwrt/package/base-files/brcm-2.6/etc/hotplug.d/net/09-net index 8bbf604..90a92bd 100644 --- a/openwrt/package/base-files/brcm-2.6/etc/hotplug.d/net/09-net +++ b/openwrt/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/openwrt/package/base-files/brcm-2.6/etc/init.d/S05netconfig b/openwrt/package/base-files/brcm-2.6/etc/init.d/S05netconfig index 6a626f5..0f53c0c 100755 --- a/openwrt/package/base-files/brcm-2.6/etc/init.d/S05netconfig +++ b/openwrt/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/openwrt/package/base-files/brcm-2.6/etc/preinit b/openwrt/package/base-files/brcm-2.6/etc/preinit index 5b676ca..fb13e10 100755 --- a/openwrt/package/base-files/brcm-2.6/etc/preinit +++ b/openwrt/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/openwrt/package/base-files/brcm-2.6/sbin/mount_root b/openwrt/package/base-files/brcm-2.6/sbin/mount_root index a3ada58..e3bdd36 100755 --- a/openwrt/package/base-files/brcm-2.6/sbin/mount_root +++ b/openwrt/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))" |