#!/bin/sh [ "$1" = "info" ] && echo "pause the timer" && exit 2 . "$core_path/lib" . "$core_path/update" [ "$state" != 'running' ] && err "timer is not running" time="$(echo "$time - $now" | bc)" state='paused' save_state