On Mon, 2011-09-12 at 15:32 +0200, Tomasz Torcz wrote: > On Mon, Sep 12, 2011 at 02:08:35PM +0100, Sérgio Basto wrote: > > Thanks for reply but fails here on Fedora 15: > > You need newer version of systemd than packaged for F15. > > > systemctl is-enabled avahi-daemon.service > > the reply is empty ... > > Check the exit status wiaht "echo $?"
always 0, if enable or not . root@segulix:~#systemctl is-enabled systemd-logger.service root@segulix:~#echo $? 0 root@segulix:~#systemctl is-enabled irqbalance.service root@segulix:~#echo $? 0 root@segulix:~#systemctl is-enabled avahi-daemon.service root@segulix:~#echo $? 0 -- Sérgio M. B. _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel