aboutsummaryrefslogtreecommitdiffstats
path: root/package/system/urandom-seed
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/urandom-seed
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/urandom-seed')
-rw-r--r--package/system/urandom-seed/Makefile2
-rw-r--r--package/system/urandom-seed/files/lib/preinit/81_urandom_seed2
2 files changed, 1 insertions, 3 deletions
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
}