From 638220bfee001cda74225befb587a558cf7d9b9c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ar=C4=B1n=C3=A7=20=C3=9CNAL?= Date: Wed, 4 May 2022 11:34:29 +0300 Subject: packages: nvram: add NVRAM quirks for bcm53xx target MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add NVRAM quirks script for the bcm53xx target. Split NVRAM quirks for the bcm47xx and bcm53xx targets. Move clear partialboot NVRAM quirk for Linksys EA9500 here. Add set wireless LED behaviour quirk for Asus RT-AC88U. Use boot() instead of start() as nvram commands are meant to be executed only once, at boot. Signed-off-by: Arınç ÜNAL (cherry picked from commit f4e219fd5e6cfa33d234dad134fb105cc1620f54) --- .../linux/bcm53xx/base-files/etc/init.d/clear_partialboot | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100755 target/linux/bcm53xx/base-files/etc/init.d/clear_partialboot (limited to 'target/linux/bcm53xx/base-files/etc') diff --git a/target/linux/bcm53xx/base-files/etc/init.d/clear_partialboot b/target/linux/bcm53xx/base-files/etc/init.d/clear_partialboot deleted file mode 100755 index b3eddf4af0..0000000000 --- a/target/linux/bcm53xx/base-files/etc/init.d/clear_partialboot +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/sh /etc/rc.common - -START=97 -boot() { - . /lib/functions.sh - - case $(board_name) in - linksys,panamera) - # clear partialboots - nvram set partialboots=0 && nvram commit - ;; - esac -} -- cgit v1.2.3