this is the content of "chargerconnect"
-----
#!/bin/sh
echo 1 > /home/user/smart/flags/chargerconnected
-----
sometimes (not consistent when i connect the charger) i can find the process "/home/user/smart/eventhandling/chargerconnect" in the list of processes stuck - it does not end, and cannot be killed with "kill -9". when this happens, dbus-scripts stops sending other dbus signals defined in "dbus-scripts-settings" - to make it work again, i must do:
killall dbus-scripts
but the process "/home/user/smart/eventhandling/chargerconnect" will still be in the process list - until the device will be restarted
i have this line in dbus-scripts-settings:
/home/user/smart/eventhandling/chargerconnect * * com.nokia.bme.signal charger_connected
this is the content of "chargerconnect"
-----
#!/bin/sh
echo 1 > /home/user/smart/flags/chargerconnected
-----
sometimes (not consistent when i connect the charger) i can find the process "/home/user/smart/eventhandling/chargerconnect" in the list of processes stuck - it does not end, and cannot be killed with "kill -9". when this happens, dbus-scripts stops sending other dbus signals defined in "dbus-scripts-settings" - to make it work again, i must do:
killall dbus-scripts
but the process "/home/user/smart/eventhandling/chargerconnect" will still be in the process list - until the device will be restarted