aboutsummaryrefslogtreecommitdiffstats
path: root/package/system
diff options
context:
space:
mode:
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>2021-01-25 12:48:42 +0100
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2021-01-29 14:29:41 +0100
commit331892f85f1cfab21b26a1f84824f4110e06027f (patch)
tree675577fa4f606e0afdaa04371cbcdfacb7595ab6 /package/system
parent2c35899d8196c3c4f02c9b788b99a8a3bbbb32d1 (diff)
downloadupstream-331892f85f1cfab21b26a1f84824f4110e06027f.tar.gz
upstream-331892f85f1cfab21b26a1f84824f4110e06027f.tar.bz2
upstream-331892f85f1cfab21b26a1f84824f4110e06027f.zip
treewide: drop shebang from non-executable lib files
This drops the shebang from another bunch of files in various /lib folders, as these are sourced and the shebang is useless. Fix execute bit in one case, too. This should cover almost all trivial cases now, i.e. where /lib is actually used for library files. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'package/system')
-rw-r--r--package/system/uci/Makefile2
-rw-r--r--package/system/uci/files/lib/config/uci.sh1
-rw-r--r--package/system/urandom-seed/Makefile2
-rw-r--r--package/system/urandom-seed/files/lib/preinit/81_urandom_seed2
4 files changed, 2 insertions, 5 deletions
diff --git a/package/system/uci/Makefile b/package/system/uci/Makefile
index 4f77cf2219..fca800a541 100644
--- a/package/system/uci/Makefile
+++ b/package/system/uci/Makefile
@@ -9,7 +9,7 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=uci
-PKG_RELEASE:=3
+PKG_RELEASE:=4
PKG_SOURCE_URL=$(PROJECT_GIT)/project/uci.git
PKG_SOURCE_PROTO:=git
diff --git a/package/system/uci/files/lib/config/uci.sh b/package/system/uci/files/lib/config/uci.sh
index 1e85ced834..8d32cd1743 100644
--- a/package/system/uci/files/lib/config/uci.sh
+++ b/package/system/uci/files/lib/config/uci.sh
@@ -1,4 +1,3 @@
-#!/bin/sh
# Shell script compatibility wrappers for /sbin/uci
#
# Copyright (C) 2008-2010 OpenWrt.org
diff --git a/package/system/urandom-seed/Makefile b/package/system/urandom-seed/Makefile
index 7cb7c72038..7c5524a9db 100644
--- a/package/system/urandom-seed/Makefile
+++ b/package/system/urandom-seed/Makefile
@@ -1,7 +1,7 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=urandom-seed
-PKG_RELEASE:=2
+PKG_RELEASE:=3
PKG_LICENSE:=GPL-2.0-only
include $(INCLUDE_DIR)/package.mk
diff --git a/package/system/urandom-seed/files/lib/preinit/81_urandom_seed b/package/system/urandom-seed/files/lib/preinit/81_urandom_seed
index 26212c60b5..2adc6c47f0 100644
--- a/package/system/urandom-seed/files/lib/preinit/81_urandom_seed
+++ b/package/system/urandom-seed/files/lib/preinit/81_urandom_seed
@@ -1,5 +1,3 @@
-#!/bin/sh
-
log_urandom_seed() {
echo "urandom-seed: $1" > /dev/kmsg
}