Mailinglist Archive: opensuse (1239 mails)

< Previous Next >
Re: [opensuse] systemd: What is the proper manner to print a message to the screen from a service file?
* Carlos E. R. <robin.listas@xxxxxxxxxxxxxx> [06-16-13 09:50]:
[...]
#Does not print - it does on syslog, not to terminal.
grep FAILED /var/log/boot.log
Telcontar:~ #



The script runs, but the output of grep goes to syslog; I want it to got to
the terminal (tty1, actually), in order to see at a glance which services
failed to start (this was something that systemv did).

perhaps ???
echo `grep FAILED /var/log/boot.log`

w/backticks, not single parenthesis

untested.
--
(paka)Patrick Shanahan Plainfield, Indiana, USA HOG # US1244711
http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2
http://en.opensuse.org openSUSE Community Member
Registered Linux User #207535 @ http://linuxcounter.net
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx

< Previous Next >
References