diff options
Diffstat (limited to 'target/linux/ramips/base-files')
5 files changed, 11 insertions, 0 deletions
diff --git a/target/linux/ramips/base-files/etc/board.d/01_leds b/target/linux/ramips/base-files/etc/board.d/01_leds index 8bc3d0cda7..52119383b0 100755 --- a/target/linux/ramips/base-files/etc/board.d/01_leds +++ b/target/linux/ramips/base-files/etc/board.d/01_leds @@ -255,6 +255,9 @@ pbr-m1) psg1208) set_wifi_led "$board:white:wlan2g" ;; +psg1218) + ucidef_set_led_default "power" "power" "$board:red:status" "1" + ;; px-4885) set_wifi_led "$board:orange:wifi" set_usb_led "$board:blue:storage" diff --git a/target/linux/ramips/base-files/etc/board.d/02_network b/target/linux/ramips/base-files/etc/board.d/02_network index c8b57ca64e..5ad9a13b86 100755 --- a/target/linux/ramips/base-files/etc/board.d/02_network +++ b/target/linux/ramips/base-files/etc/board.d/02_network @@ -84,6 +84,7 @@ ramips_setup_interfaces() oy-0001|\ pbr-m1|\ psg1208|\ + psg1218|\ sap-g3200u3|\ sk-wb8|\ wf-2881|\ diff --git a/target/linux/ramips/base-files/etc/diag.sh b/target/linux/ramips/base-files/etc/diag.sh index 7870ce2ffb..98afa05e04 100644 --- a/target/linux/ramips/base-files/etc/diag.sh +++ b/target/linux/ramips/base-files/etc/diag.sh @@ -93,6 +93,9 @@ get_status_led() { psg1208) status_led="$board:white:wps" ;; + psg1218) + status_led="$board:blue:status" + ;; cy-swr1100|\ w502u) status_led="$board:blue:wps" diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh index bb379f77fc..9c6c3b10dd 100755 --- a/target/linux/ramips/base-files/lib/ramips.sh +++ b/target/linux/ramips/base-files/lib/ramips.sh @@ -349,6 +349,9 @@ ramips_board_detect() { *"PSG1208") name="psg1208" ;; + *"PSG1218") + name="psg1218" + ;; *"PSR-680W"*) name="psr-680w" ;; diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh index 0ef23087d1..e6c7845e5b 100755 --- a/target/linux/ramips/base-files/lib/upgrade/platform.sh +++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh @@ -103,6 +103,7 @@ platform_check_image() { pbr-d1|\ pbr-m1|\ psg1208|\ + psg1218|\ psr-680w|\ px-4885|\ re6500|\ |