diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2013-02-17 21:47:03 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2013-02-17 21:47:03 +0000 |
commit | f3a456e5f1f4f956e24a984d07cca95435ce79ff (patch) | |
tree | 8ec3a6a1cc0d22f0fa786ddca8c8d8218fd2c90c /package/base-files | |
parent | b4f4f60ee3e631762cbc1cbf234e4f6f6e067b81 (diff) | |
download | master-187ad058-f3a456e5f1f4f956e24a984d07cca95435ce79ff.tar.gz master-187ad058-f3a456e5f1f4f956e24a984d07cca95435ce79ff.tar.bz2 master-187ad058-f3a456e5f1f4f956e24a984d07cca95435ce79ff.zip |
base-files: minor cosmetic corrections for functions.sh
- update copyright header
- remove superfluous shebang left-over from changeset 34794
- unify function declaration
[juhosg: keep Vertical Communications' copyright notice]
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35646 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/base-files')
-rwxr-xr-x | package/base-files/files/lib/functions.sh | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/package/base-files/files/lib/functions.sh b/package/base-files/files/lib/functions.sh index a488f4dc01..f51bfea45d 100755 --- a/package/base-files/files/lib/functions.sh +++ b/package/base-files/files/lib/functions.sh @@ -1,6 +1,7 @@ #!/bin/sh -# Copyright (C) 2006-2011 OpenWrt.org +# Copyright (C) 2006-2013 OpenWrt.org # Copyright (C) 2006 Fokus Fraunhofer <carsten.tittel@fokus.fraunhofer.de> +# Copyright (C) 2010 Vertical Communications debug () { @@ -406,10 +407,6 @@ pi_include() { return 0 } -#!/bin/sh -# Copyright (C) 2006-2010 OpenWrt.org -# Copyright (C) 2010 Vertical Communications - boot_hook_splice_start() { export -n PI_HOOK_SPLICE=1 } @@ -472,7 +469,7 @@ boot_run_hook() { done } -jffs2_ready () { +jffs2_ready() { mtdpart="$(find_mtd_part rootfs_data)" [ -z "$mtdpart" ] && return 1 magic=$(hexdump $mtdpart -n 4 -e '4/1 "%02x"') |