From b307d226be8f3650b729c87e3e8dbd92cde1f3ea Mon Sep 17 00:00:00 2001 From: Tim Niemeyer Date: Sun, 17 Aug 2014 14:10:06 +0200 Subject: [PATCH] bsp/*/config: harmonize system.tpl Signed-off-by: Tim Niemeyer --- .../root_file_system/etc/config/system | 3 -- .../root_file_system/etc/config/system.tpl | 29 +++++++++++++++++++ .../root_file_system/etc/config/system | 13 --------- .../root_file_system/etc/config/system | 13 --------- .../root_file_system/etc/config/system | 11 ------- .../root_file_system/etc/config/system.tpl | 19 ------------ .../root_file_system/etc/config/system.tpl | 19 ------------ bsp/wr841/root_file_system/etc/config/system | 13 --------- 8 files changed, 29 insertions(+), 91 deletions(-) delete mode 100644 bsp/default/root_file_system/etc/config/system create mode 100644 bsp/default/root_file_system/etc/config/system.tpl delete mode 100644 bsp/wdr4300/root_file_system/etc/config/system delete mode 100644 bsp/wdr4900/root_file_system/etc/config/system delete mode 100644 bsp/wr1043nd/root_file_system/etc/config/system delete mode 100644 bsp/wr740n/root_file_system/etc/config/system.tpl delete mode 100644 bsp/wr741/root_file_system/etc/config/system.tpl delete mode 100644 bsp/wr841/root_file_system/etc/config/system diff --git a/bsp/default/root_file_system/etc/config/system b/bsp/default/root_file_system/etc/config/system deleted file mode 100644 index 43ee7a5..0000000 --- a/bsp/default/root_file_system/etc/config/system +++ /dev/null @@ -1,3 +0,0 @@ -config system - option hostname OpenWrt - option timezone "CET-1CEST,M3.5.0,M10.5.0/3" diff --git a/bsp/default/root_file_system/etc/config/system.tpl b/bsp/default/root_file_system/etc/config/system.tpl new file mode 100644 index 0000000..425d488 --- /dev/null +++ b/bsp/default/root_file_system/etc/config/system.tpl @@ -0,0 +1,29 @@ +config 'system' + option 'hostname' 'OpenWrt' + option 'timezone' 'CET-1CEST,M3.5.0,M10.5.0/3' + +config 'led' 'status_led_green' + option 'name' 'status' + option 'sysfs' 'tp-link:green:system' + option 'trigger' 'heartbeat' + +config 'led' 'status_led_blue' + option 'name' 'status' + option 'sysfs' 'tp-link:blue:system' + option 'trigger' 'heartbeat' + +config 'led' 'led_vpn_green' + option 'name' 'VPN' + option 'sysfs' 'tp-link:green:qss' + option 'trigger' 'netdev' + option 'dev' '${VPN_PROJECT}VPN' + option 'mode' 'link' + +config 'led' 'led_vpn_blue' + option 'name' 'VPN' + option 'sysfs' 'tp-link:blue:qss' + option 'trigger' 'netdev' + option 'dev' '${VPN_PROJECT}VPN' + option 'mode' 'link' + +# vim: noexpandtab diff --git a/bsp/wdr4300/root_file_system/etc/config/system b/bsp/wdr4300/root_file_system/etc/config/system deleted file mode 100644 index 25edaf8..0000000 --- a/bsp/wdr4300/root_file_system/etc/config/system +++ /dev/null @@ -1,13 +0,0 @@ -config 'system' - option 'hostname' 'OpenWrt' - option 'timezone' 'CET-1CEST,M3.5.0,M10.5.0/3' - -config 'rdate' - option 'interface' 'wan' - -config 'led' 'status_led' - option 'name' 'status' - option 'sysfs' 'tp-link:blue:system' - option 'trigger' 'heartbeat' - -# vim: noexpandtab diff --git a/bsp/wdr4900/root_file_system/etc/config/system b/bsp/wdr4900/root_file_system/etc/config/system deleted file mode 100644 index 25edaf8..0000000 --- a/bsp/wdr4900/root_file_system/etc/config/system +++ /dev/null @@ -1,13 +0,0 @@ -config 'system' - option 'hostname' 'OpenWrt' - option 'timezone' 'CET-1CEST,M3.5.0,M10.5.0/3' - -config 'rdate' - option 'interface' 'wan' - -config 'led' 'status_led' - option 'name' 'status' - option 'sysfs' 'tp-link:blue:system' - option 'trigger' 'heartbeat' - -# vim: noexpandtab diff --git a/bsp/wr1043nd/root_file_system/etc/config/system b/bsp/wr1043nd/root_file_system/etc/config/system deleted file mode 100644 index 23b0469..0000000 --- a/bsp/wr1043nd/root_file_system/etc/config/system +++ /dev/null @@ -1,11 +0,0 @@ -config 'system' - option 'hostname' 'OpenWrt' - option 'timezone' 'CET-1CEST,M3.5.0,M10.5.0/3' - -config 'rdate' - option 'interface' 'wan' - -config 'led' 'status_led' - option 'name' 'status' - option 'sysfs' 'tp-link:green:system' - option 'trigger' 'heartbeat' diff --git a/bsp/wr740n/root_file_system/etc/config/system.tpl b/bsp/wr740n/root_file_system/etc/config/system.tpl deleted file mode 100644 index 88c3084..0000000 --- a/bsp/wr740n/root_file_system/etc/config/system.tpl +++ /dev/null @@ -1,19 +0,0 @@ - -config system - option hostname 'OpenWrt' - option timezone 'CET-1CEST,M3.5.0,M10.5.0/3' - -config rdate - option interface 'wan' - -config led 'status_led' - option name 'status' - option sysfs 'tp-link:green:system' - option trigger 'heartbeat' - -config led 'led_vpn' - option name 'VPN' - option sysfs 'tp-link:green:qss' - option trigger 'netdev' - option dev '${VPN_PROJECT}VPN' - option mode 'link' diff --git a/bsp/wr741/root_file_system/etc/config/system.tpl b/bsp/wr741/root_file_system/etc/config/system.tpl deleted file mode 100644 index 88c3084..0000000 --- a/bsp/wr741/root_file_system/etc/config/system.tpl +++ /dev/null @@ -1,19 +0,0 @@ - -config system - option hostname 'OpenWrt' - option timezone 'CET-1CEST,M3.5.0,M10.5.0/3' - -config rdate - option interface 'wan' - -config led 'status_led' - option name 'status' - option sysfs 'tp-link:green:system' - option trigger 'heartbeat' - -config led 'led_vpn' - option name 'VPN' - option sysfs 'tp-link:green:qss' - option trigger 'netdev' - option dev '${VPN_PROJECT}VPN' - option mode 'link' diff --git a/bsp/wr841/root_file_system/etc/config/system b/bsp/wr841/root_file_system/etc/config/system deleted file mode 100644 index d368995..0000000 --- a/bsp/wr841/root_file_system/etc/config/system +++ /dev/null @@ -1,13 +0,0 @@ - -config system - option hostname 'OpenWrt' - option timezone 'CET-1CEST,M3.5.0,M10.5.0/3' - -config rdate - option interface 'wan' - -config led 'status_led' - option name 'status' - option sysfs 'tp-link:green:system' - option trigger 'heartbeat' -