From 1c321237c29202e0ed5c168c625cc89fcabb609c Mon Sep 17 00:00:00 2001 From: Adrian Schmutzler Date: Mon, 11 Nov 2019 14:48:17 +0100 Subject: ramips: split further base-files across subtargets As started in 19724e28c81e ("ramips: split base-files into subtargets"), this moves some smaller left-over files to the appropriate base-files folder of their subtarget: - /etc/init.d/bootcount - /etc/uci-defaults/04_led_migration Signed-off-by: Adrian Schmutzler --- target/linux/ramips/base-files/etc/init.d/bootcount | 14 -------------- 1 file changed, 14 deletions(-) delete mode 100755 target/linux/ramips/base-files/etc/init.d/bootcount (limited to 'target/linux/ramips/base-files/etc/init.d') diff --git a/target/linux/ramips/base-files/etc/init.d/bootcount b/target/linux/ramips/base-files/etc/init.d/bootcount deleted file mode 100755 index ad3dd97402..0000000000 --- a/target/linux/ramips/base-files/etc/init.d/bootcount +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/sh /etc/rc.common - -START=99 - -boot() { - case $(board_name) in - samknows,whitebox-v8) - fw_setenv bootcount 0 - ;; - xiaomi,miwifi-nano) - fw_setenv flag_boot_success 1 - ;; - esac -} -- cgit v1.2.3