Skip to content
Snippets Groups Projects
Commit 266b528a authored by Erik von Reis's avatar Erik von Reis
Browse files

new argument system for rtcds now works well. Tested all commands. ...

new argument system for rtcds now works well.  Tested all commands.  --userland flag added but does not yet do anything."
"
parent 4d84dbb9
No related branches found
No related tags found
1 merge request!150Update rtcds with user-space model flags
......@@ -423,7 +423,7 @@ Available commands:
restart <sys>...|--all restart running systems
stop|kill <sys>...|--all stop running systems
status <sys> show status for system services
status [<sys>] show status for system services
log show logs for system services
-f follow logs
......@@ -548,23 +548,21 @@ case $cmd in
fi
;;
'log')
args=
args=
if [[ $FOLLOW_FLAG ]] ; then
args="-f"
shift
fi
if [ -z "$1" ] ; then
log "You must specify one system to show log."
exit 2
fi
sys=$1
sudo journalctl $args --unit=rts*${sys}*
;;
sys=$1
sudo journalctl $args --unit=rts*${sys}*
;;
'blog')
format=full
if [[ $INFO_FLAG ]] ; then
format=info
shift
fi
if [ -z "$1" ] ; then
log "You must specify system to view."
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment