Revert "cups: Rename "browsing" config option to "advertise""

This reverts commit 48e65cec4e.
This commit is contained in:
Jascha Geerds 2015-05-10 20:47:50 +02:00
parent 2818017347
commit 19dbe42aeb
2 changed files with 3 additions and 3 deletions

View file

@ -57,7 +57,7 @@ was accordingly renamed to <literal>bomi</literal>
<para>
Local printers are no longer shared or advertised by default. This behavior
can be changed by enabling <literal>services.printing.defaultShared</literal>
or <literal>services.printing.advertise</literal> respectively.
or <literal>services.printing.browsing</literal> respectively.
</para>
</listitem>

View file

@ -80,7 +80,7 @@ in
'';
};
advertise = mkOption {
browsing = mkOption {
type = types.bool;
default = false;
description = ''
@ -285,7 +285,7 @@ in
DefaultShared ${if cfg.defaultShared then "Yes" else "No"}
Browsing ${if cfg.advertise then "Yes" else "No"}
Browsing ${if cfg.browsing then "Yes" else "No"}
WebInterface ${if cfg.webInterface then "Yes" else "No"}