skasowałem w /etc/rc.button skrypt rfkill i w tym miejsu jest skrypt Radyjko.sh o takiej zawartości
#!/bin/sh
T=$(pidof madplay)
if [ -z "$T" ]; then
wget -qO - http://stream.rcs.revma.com/ypqt40u0x1zuv | madplay -Q - &
else
kill -9 $T
fi
exit 0
a zawartosc pliku system wygląda tak
config system
option ttylogin '0'
option log_size '64'
option urandom_seed '0'
option cronloglevel '9'
option timezone 'CET-1CEST,M3.5.0/2,M10.5.0/3'
option zonename 'Europe/Warsaw'
option stat '0'
option hostname 'Sypialnia'
config timeserver 'ntp'
option enabled '1'
option enable_server '1'
list server '0.pool.ntp.org'
list server '1.pool.ntp.org'
list server '2.pool.ntp.org'
list server '3.pool.ntp.org'
config led 'led_wan_green'
option name 'WAN (green)'
option sysfs 'netgear:green:wan'
option trigger 'switch0'
option port_mask '0x20'
option speed_mask '0x08'
config led 'led_wan_amber'
option name 'WAN (amber)'
option sysfs 'netgear:amber:wan'
option trigger 'switch0'
option port_mask '0x20'
option speed_mask '0x06'
config led 'led_usb'
option name 'USB'
option sysfs 'netgear:green:usb'
option trigger 'usbport'
list port 'usb1-port1'
config led 'led_wlan2g'
option name 'WLAN2G'
option sysfs 'netgear:green:wlan2g'
option trigger 'phy0tpt'
config led 'led_wlan5g'
option name 'WLAN5G'
option sysfs 'netgear:blue:wlan5g'
option trigger 'phy1tpt'
config button 'reboot_button'
option action 'released'
option handler 'logger reboot ; /usr/lib/gargoyle/reboot.sh ;'
option min '3'
option button 'reset'
option max '10'
config button 'reset_button'
option button 'reset'
option action 'released'
option handler 'logger restore defaults ; /sbin/firstboot -y; reboot ;'
option max '90'
option min '11'
config button 'wps_button'
option button 'wps'
option action 'released'
option handler '/usr/bin/radio1.sh ;'
option min '0'
option max '2'
config button 'rfkill_button'
option button 'rfkill'
option action 'released'
option handler '/etc/rc.button/Radyjko.sh ;'
option min '0'
option max '2'
config button 'power_button'
option button 'power'
option action 'released'
option handler 'exec /sbin/poweroff'
option min '0'
option max '90'
efekt nic się nie dzieje