From 914563e2868dd013a6f3d5cb6de3670418474e2c Mon Sep 17 00:00:00 2001 From: Piotr Dymacz Date: Fri, 2 Apr 2021 19:43:38 +0200 Subject: [PATCH] uboot-envtools: drop shebang from uci-defaults and lib files These files are sourced and non-executable, a shebang is redundant. Signed-off-by: Piotr Dymacz --- package/boot/uboot-envtools/files/apm821xx | 2 -- package/boot/uboot-envtools/files/ath79 | 1 - package/boot/uboot-envtools/files/cns3xxx | 1 - package/boot/uboot-envtools/files/imx6 | 1 - package/boot/uboot-envtools/files/ipq40xx | 1 - package/boot/uboot-envtools/files/ipq806x | 1 - package/boot/uboot-envtools/files/kirkwood | 1 - package/boot/uboot-envtools/files/lantiq | 1 - package/boot/uboot-envtools/files/layerscape | 1 - package/boot/uboot-envtools/files/mediatek | 1 - package/boot/uboot-envtools/files/mpc85xx | 2 -- package/boot/uboot-envtools/files/mvebu | 1 - package/boot/uboot-envtools/files/mxs | 1 - package/boot/uboot-envtools/files/oxnas | 1 - package/boot/uboot-envtools/files/pistachio | 1 - package/boot/uboot-envtools/files/ramips | 1 - 16 files changed, 18 deletions(-) diff --git a/package/boot/uboot-envtools/files/apm821xx b/package/boot/uboot-envtools/files/apm821xx index 6bcc3ad62f12..690fbba33210 100644 --- a/package/boot/uboot-envtools/files/apm821xx +++ b/package/boot/uboot-envtools/files/apm821xx @@ -1,5 +1,3 @@ -#!/bin/sh - [ -e /etc/config/ubootenv ] && exit 0 touch /etc/config/ubootenv diff --git a/package/boot/uboot-envtools/files/ath79 b/package/boot/uboot-envtools/files/ath79 index abcb99663dfd..6eb66a22db18 100644 --- a/package/boot/uboot-envtools/files/ath79 +++ b/package/boot/uboot-envtools/files/ath79 @@ -1,4 +1,3 @@ -#!/bin/sh # # Copyright (C) 2011-2014 OpenWrt.org # diff --git a/package/boot/uboot-envtools/files/cns3xxx b/package/boot/uboot-envtools/files/cns3xxx index f998de463c68..c8cca3091d6a 100644 --- a/package/boot/uboot-envtools/files/cns3xxx +++ b/package/boot/uboot-envtools/files/cns3xxx @@ -1,4 +1,3 @@ -#!/bin/sh # # Copyright (C) 2013 OpenWrt.org # diff --git a/package/boot/uboot-envtools/files/imx6 b/package/boot/uboot-envtools/files/imx6 index 5d960df9ccd1..4b44692b995e 100644 --- a/package/boot/uboot-envtools/files/imx6 +++ b/package/boot/uboot-envtools/files/imx6 @@ -1,4 +1,3 @@ -#!/bin/sh # # Copyright (C) 2013-2014 OpenWrt.org # diff --git a/package/boot/uboot-envtools/files/ipq40xx b/package/boot/uboot-envtools/files/ipq40xx index b24cbf979e7c..f05732164ff9 100644 --- a/package/boot/uboot-envtools/files/ipq40xx +++ b/package/boot/uboot-envtools/files/ipq40xx @@ -1,4 +1,3 @@ -#!/bin/sh # # Copyright (C) 2016 LEDE # diff --git a/package/boot/uboot-envtools/files/ipq806x b/package/boot/uboot-envtools/files/ipq806x index 96a4ee64509b..48d799fd85ea 100644 --- a/package/boot/uboot-envtools/files/ipq806x +++ b/package/boot/uboot-envtools/files/ipq806x @@ -1,4 +1,3 @@ -#!/bin/sh # # Copyright (C) 2016 LEDE # diff --git a/package/boot/uboot-envtools/files/kirkwood b/package/boot/uboot-envtools/files/kirkwood index 401df74597de..d1986f206d48 100644 --- a/package/boot/uboot-envtools/files/kirkwood +++ b/package/boot/uboot-envtools/files/kirkwood @@ -1,4 +1,3 @@ -#!/bin/sh # # Copyright (C) 2012-2014 OpenWrt.org # diff --git a/package/boot/uboot-envtools/files/lantiq b/package/boot/uboot-envtools/files/lantiq index 87dfac8b3012..81af7e804f8a 100644 --- a/package/boot/uboot-envtools/files/lantiq +++ b/package/boot/uboot-envtools/files/lantiq @@ -1,4 +1,3 @@ -#!/bin/sh # # Copyright (C) 2012 OpenWrt.org # diff --git a/package/boot/uboot-envtools/files/layerscape b/package/boot/uboot-envtools/files/layerscape index 732f1484542b..e535ec237979 100644 --- a/package/boot/uboot-envtools/files/layerscape +++ b/package/boot/uboot-envtools/files/layerscape @@ -1,4 +1,3 @@ -#!/bin/sh # # Copyright (C) 2016 LEDE # diff --git a/package/boot/uboot-envtools/files/mediatek b/package/boot/uboot-envtools/files/mediatek index e206b7442b6f..4194ad2af095 100644 --- a/package/boot/uboot-envtools/files/mediatek +++ b/package/boot/uboot-envtools/files/mediatek @@ -1,4 +1,3 @@ -#!/bin/sh # # Copyright (C) 2021 OpenWrt.org # diff --git a/package/boot/uboot-envtools/files/mpc85xx b/package/boot/uboot-envtools/files/mpc85xx index d219b57cb185..004ec2413169 100644 --- a/package/boot/uboot-envtools/files/mpc85xx +++ b/package/boot/uboot-envtools/files/mpc85xx @@ -1,5 +1,3 @@ -#!/bin/sh - [ -e /etc/config/ubootenv ] && exit 0 touch /etc/config/ubootenv diff --git a/package/boot/uboot-envtools/files/mvebu b/package/boot/uboot-envtools/files/mvebu index afa058a39f71..fb910f4b1bee 100644 --- a/package/boot/uboot-envtools/files/mvebu +++ b/package/boot/uboot-envtools/files/mvebu @@ -1,4 +1,3 @@ -#!/bin/sh # # Copyright (C) 2014-2016 OpenWrt.org # Copyright (C) 2016 LEDE-Project.org diff --git a/package/boot/uboot-envtools/files/mxs b/package/boot/uboot-envtools/files/mxs index e087d6078302..fc5cd5407807 100644 --- a/package/boot/uboot-envtools/files/mxs +++ b/package/boot/uboot-envtools/files/mxs @@ -1,4 +1,3 @@ -#!/bin/sh # # Copyright (C) 2013 OpenWrt.org # diff --git a/package/boot/uboot-envtools/files/oxnas b/package/boot/uboot-envtools/files/oxnas index 4427bb50c978..2d022f9eb2ff 100644 --- a/package/boot/uboot-envtools/files/oxnas +++ b/package/boot/uboot-envtools/files/oxnas @@ -1,4 +1,3 @@ -#!/bin/sh # # Copyright (C) 2013 OpenWrt.org # diff --git a/package/boot/uboot-envtools/files/pistachio b/package/boot/uboot-envtools/files/pistachio index e4aa7b0cd960..53515641bcd3 100644 --- a/package/boot/uboot-envtools/files/pistachio +++ b/package/boot/uboot-envtools/files/pistachio @@ -1,4 +1,3 @@ -#!/bin/sh # # Copyright (C) 2017 OpenWrt.org # diff --git a/package/boot/uboot-envtools/files/ramips b/package/boot/uboot-envtools/files/ramips index a47e2950d3ae..a16c88d8bd58 100644 --- a/package/boot/uboot-envtools/files/ramips +++ b/package/boot/uboot-envtools/files/ramips @@ -1,4 +1,3 @@ -#!/bin/sh # # Copyright (C) 2011-2012 OpenWrt.org # -- 2.30.2