diff --git a/no-ip-service b/no-ip-service index 8a67351..1d260cc 100644 --- a/no-ip-service +++ b/no-ip-service @@ -27,7 +27,7 @@ restart() { } status(){ - echo stat -c %y exe + echo stat -c %y $exe } case "$1" in @@ -40,6 +40,9 @@ case "$1" in restart) restart ;; + status) + status + ;; *) echo "Usage: $0 {start|stop|restart|status}" ;; esac