chiark / gitweb /
systemctl: add commands set-default and get-default
authorVáclav Pavlín <vpavlin@redhat.com>
Tue, 28 May 2013 09:05:48 +0000 (11:05 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 31 May 2013 00:44:41 +0000 (20:44 -0400)
commit99504dd4c13af7516a976fffc0f68e6f26d3faac
treeb0650f8436617bb48701353f28310ac7f9a62de9
parent9749cd77bc6121a304a7f1eb0f03f26e620dc9da
systemctl: add commands set-default and get-default

systemctl set-default NAME links the default.target to the given unit,
get-default prints out the path to the currently set default target.
man/systemctl.xml
shell-completion/bash/systemctl
src/core/dbus-manager.c
src/core/org.freedesktop.systemd1.conf
src/shared/install.c
src/shared/install.h
src/systemctl/systemctl.c