From 914563e2868dd013a6f3d5cb6de3670418474e2c Mon Sep 17 00:00:00 2001 From: Piotr Dymacz Date: Fri, 2 Apr 2021 19:43:38 +0200 Subject: 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 6bcc3ad62f..690fbba332 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 abcb99663d..6eb66a22db 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 f998de463c..c8cca3091d 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 5d960df9cc..4b44692b99 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 b24cbf979e..f05732164f 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 96a4ee6450..48d799fd85 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 401df74597..d1986f206d 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 87dfac8b30..81af7e804f 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 732f148454..e535ec2379 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 e206b7442b..4194ad2af0 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 d219b57cb1..004ec24131 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 afa058a39f..fb910f4b1b 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 e087d60783..fc5cd54078 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 4427bb50c9..2d022f9eb2 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 e4aa7b0cd9..53515641bc 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 a47e2950d3..a16c88d8bd 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 # -- cgit v1.2.3