Re: Raspberry pie 3B+
Posted: 14 Feb 2019, 14:33
Hi janui:
This is the output you want.
Andre
This is the output you want.
Andre
Embedded hi-fi music player
https://www.runeaudio.com/forum/
https://www.runeaudio.com/forum/raspberry-pie-3b-t6738-60.html
cp /etc/udev/rules.d/rune_usb-stor.rules /home/rune_usb-stor.rules
nano /etc/udev/rules.d/rune_usb-stor.rules
#KERNEL=="sd*", SUBSYSTEM="usb", RUN+="/var/www/command/ui_notify.php 'Usb Storage' event simplemessage"
#KERNEL=="sd?1", ACTION=="add", RUN+="/var/www/command/ui_notify.php 'Usb Storage' connected simplemessage"
KERNEL=="sdb1", ACTION=="add", RUN+="/var/www/command/ui_notify.php 'Usb Storage' connected simplemessage"
KERNEL=="sdc1", ACTION=="add", RUN+="/var/www/command/ui_notify.php 'Usb Storage' connected simplemessage"
KERNEL=="sdd1", ACTION=="add", RUN+="/var/www/command/ui_notify.php 'Usb Storage' connected simplemessage"
KERNEL=="sde1", ACTION=="add", RUN+="/var/www/command/ui_notify.php 'Usb Storage' connected simplemessage"
KERNEL=="sdf1", ACTION=="add", RUN+="/var/www/command/ui_notify.php 'Usb Storage' connected simplemessage"
KERNEL=="sd?1", ACTION=="remove", RUN+="/var/www/command/ui_notify.php 'Usb Storage' disconnected simplemessage"
Good news, thanks for your patience and persistence.andre_chang wrote:Succeed! (^_^)
Rune checks on start-up and then every 15 minutes for an internet connection. When it discovers that there is no internet connection it switches certain background jobs off. These background jobs will cause the UI to repeatedly freeze for +/-2 minutes when no internet is available.andre_chang wrote:My environment is simple. More often than not, there is no internet.
/srv/http/command/internet_available_async.sh
janui wrote:Hi andre_chang,Rune checks on start-up and then every 15 minutes for an internet connection. When it discovers that there is no internet connection it switches certain background jobs off. These background jobs will cause the UI to repeatedly freeze for +/-2 minutes when no internet is available.andre_chang wrote:My environment is simple. More often than not, there is no internet.
I am not sure that this is your problem, to verify it you try this. When it occurs log in via SSH and run the following command:The UI should work fine after the current freeze terminates. Could you post the results.
- Code: Select all
/srv/http/command/internet_available_async.sh
janui