On Wed, 16.07.14 12:09, Jon Severinsson (j...@severinsson.net) wrote:

> From: Tollef Fog Heen <tfh...@err.no>

If you really want to support systems without systemd installed, then I'd
recommend placing this rules file in the systemd pacakge, so that it is
gone if you uninstall systemd.

That said, nothing of what the file does is in any way something that
could break things on non-systemd systems, hence the whole excercise
sounds pointless...

> 
> ---
>  rules/99-systemd.rules.in | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/rules/99-systemd.rules.in b/rules/99-systemd.rules.in
> index c3ef81b..df83a38 100644
> --- a/rules/99-systemd.rules.in
> +++ b/rules/99-systemd.rules.in
> @@ -6,6 +6,7 @@
>  #  (at your option) any later version.
>  
>  ACTION=="remove", GOTO="systemd_end"
> +TEST!="/run/systemd/system", GOTO="systemd_end"
>  
>  SUBSYSTEM=="tty", 
> KERNEL=="tty[a-zA-Z]*|hvc*|xvc*|hvsi*|ttysclp*|sclp_line*|3270/tty[0-9]*", 
> TAG+="systemd"
>  


Lennart

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

Reply via email to