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 6bcc3ad62f1..690fbba3321 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 abcb99663df..6eb66a22db1 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 f998de463c6..c8cca3091d6 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 5d960df9ccd..4b44692b995 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 b24cbf979e7..f05732164ff 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 96a4ee64509..48d799fd85e 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 401df74597d..d1986f206d4 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 87dfac8b301..81af7e804f8 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 732f1484542..e535ec23797 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 e206b7442b6..4194ad2af09 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 d219b57cb18..004ec241316 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 afa058a39f7..fb910f4b1be 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 e087d607830..fc5cd540780 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 4427bb50c97..2d022f9eb2f 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 e4aa7b0cd96..53515641bcd 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 a47e2950d3a..a16c88d8bd5 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