]> git.pld-linux.org Git - packages/targetcli-fb.git/commitdiff
Include session list is service status
authorJacek Konieczny <jajcus@jajcus.net>
Sun, 5 Jan 2014 20:37:39 +0000 (21:37 +0100)
committerJacek Konieczny <jajcus@jajcus.net>
Sun, 5 Jan 2014 20:37:39 +0000 (21:37 +0100)
targetcli.init

index 041e112b6fa3912e6f437ddb487521e7d020be60..90af06ff6cb76bd8c06496c72f186b9941563fd1 100644 (file)
@@ -103,6 +103,8 @@ case "$1" in
   status)
        if [ -f /var/lock/subsys/targetcli ]; then
                nls "%s was started" "targetcli"
+               echo "Sessions:"
+               targetcli sessions
                RETVAL=0
        else
                nls "%s is stopped" "targetcli"
This page took 0.112163 seconds and 4 git commands to generate.