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/default/sbin | |
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/default/sbin')
-rwxr-xr-x | openwrt/package/base-files/default/sbin/hotplug | 1 | ||||
-rwxr-xr-x | openwrt/package/base-files/default/sbin/ifdown | 2 | ||||
-rwxr-xr-x | openwrt/package/base-files/default/sbin/ifup | 2 | ||||
-rwxr-xr-x | openwrt/package/base-files/default/sbin/mount_root | 2 | ||||
-rwxr-xr-x | openwrt/package/base-files/default/sbin/wifi | 2 |
5 files changed, 9 insertions, 0 deletions
diff --git a/openwrt/package/base-files/default/sbin/hotplug b/openwrt/package/base-files/default/sbin/hotplug index 1062993..afe52a4 100755 --- a/openwrt/package/base-files/default/sbin/hotplug +++ b/openwrt/package/base-files/default/sbin/hotplug @@ -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 diff --git a/openwrt/package/base-files/default/sbin/ifdown b/openwrt/package/base-files/default/sbin/ifdown index 0d85ca8..50ffee5 100755 --- a/openwrt/package/base-files/default/sbin/ifdown +++ b/openwrt/package/base-files/default/sbin/ifdown @@ -1,4 +1,6 @@ #!/bin/sh +# Copyright (C) 2006 OpenWrt.org + [ $# = 0 ] && { echo " $0 <group>"; exit; } . /etc/functions.sh . /etc/config/network diff --git a/openwrt/package/base-files/default/sbin/ifup b/openwrt/package/base-files/default/sbin/ifup index a86a767..390f960 100755 --- a/openwrt/package/base-files/default/sbin/ifup +++ b/openwrt/package/base-files/default/sbin/ifup @@ -1,4 +1,6 @@ #!/bin/sh +# Copyright (C) 2006 OpenWrt.org + [ $# = 0 ] && { echo " $0 <group>"; exit; } . /etc/functions.sh . /etc/config/network diff --git a/openwrt/package/base-files/default/sbin/mount_root b/openwrt/package/base-files/default/sbin/mount_root index 647c253..81660f0 100755 --- a/openwrt/package/base-files/default/sbin/mount_root +++ b/openwrt/package/base-files/default/sbin/mount_root @@ -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 diff --git a/openwrt/package/base-files/default/sbin/wifi b/openwrt/package/base-files/default/sbin/wifi index b8b995b..63b2f12 100755 --- a/openwrt/package/base-files/default/sbin/wifi +++ b/openwrt/package/base-files/default/sbin/wifi @@ -1,4 +1,6 @@ #!/bin/sh +# Copyright (C) 2006 OpenWrt.org + . /etc/functions.sh config_get_bool() { |