Re: [systemd-devel] Re:Re: How to use systemctl preset ?

2013-12-10 Thread Lennart Poettering
On Mon, 09.12.13 03:21, Tony Seo (tonys...@gmail.com) wrote:

 Thanks your answer, Andrey.
 
 But what is remove policy, I can't understand what you mean.
 
 Would you plz explain more abou it?
 
 I already added all units which I'd like to disable in 00-first.preset file.
 
 00-first.preset include:
 disable connman.service
 disable wpa_supplicant.service
 
 
 As you said, systemctl preset connman.service command worked well and
 cancel symlink from installed .want folder.
 
 
 So, Is there any way to remove many units which I want to disable at once?
 
 Thanks.

I am not sure I fully grok what you are asking. That said: systemctl
preset currently requires you to list explicitly the units you want to
enable/disable, there is no way to make it operate on all installed
units at once. (Though I'd be willing to add that, see other mail).

Lennart

-- 
Lennart Poettering, Red Hat
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel


[systemd-devel] Re:Re: How to use systemctl preset ?

2013-12-08 Thread Tony Seo
Thanks your answer, Andrey.

But what is remove policy, I can't understand what you mean.

Would you plz explain more abou it?

I already added all units which I'd like to disable in 00-first.preset file.

00-first.preset include:
disable connman.service
disable wpa_supplicant.service


As you said, systemctl preset connman.service command worked well and
cancel symlink from installed .want folder.


So, Is there any way to remove many units which I want to disable at once?

Thanks.
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel