# Copyright (C) 2018 devolo AG if [ "$ACTION" = "released" -a "$BUTTON" = "BTN_0" ]; then uptime=$(cat /proc/uptime) uptime=${uptime%% *} echo $uptime > /tmp/cs_uptime fi