Browse Source

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 <[email protected]>
Signed-off-by: Gabor Juhos <[email protected]>

SVN-Revision: 35646
Gabor Juhos 13 years ago
parent
commit
c4f14fab9b
1 changed files with 3 additions and 6 deletions
  1. 3 6
      package/base-files/files/lib/functions.sh

+ 3 - 6
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 <[email protected]>
+# 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"')