From 331892f85f1cfab21b26a1f84824f4110e06027f Mon Sep 17 00:00:00 2001 From: Adrian Schmutzler Date: Mon, 25 Jan 2021 12:48:42 +0100 Subject: 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 --- package/base-files/files/lib/upgrade/common.sh | 2 -- package/base-files/files/lib/upgrade/nand.sh | 1 - 2 files changed, 3 deletions(-) (limited to 'package/base-files/files/lib/upgrade') diff --git a/package/base-files/files/lib/upgrade/common.sh b/package/base-files/files/lib/upgrade/common.sh index c28bae48a1..968893e226 100644 --- a/package/base-files/files/lib/upgrade/common.sh +++ b/package/base-files/files/lib/upgrade/common.sh @@ -1,5 +1,3 @@ -#!/bin/sh - RAM_ROOT=/tmp/root export BACKUP_FILE=sysupgrade.tgz # file extracted by preinit diff --git a/package/base-files/files/lib/upgrade/nand.sh b/package/base-files/files/lib/upgrade/nand.sh index ad04bbc753..e6f58df4f5 100644 --- a/package/base-files/files/lib/upgrade/nand.sh +++ b/package/base-files/files/lib/upgrade/nand.sh @@ -1,4 +1,3 @@ -#!/bin/sh # Copyright (C) 2014 OpenWrt.org # -- cgit v1.2.3