diff options
Diffstat (limited to 'perl-install/printer.pm')
-rw-r--r-- | perl-install/printer.pm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/perl-install/printer.pm b/perl-install/printer.pm index a16ecbe14..3b408d74c 100644 --- a/perl-install/printer.pm +++ b/perl-install/printer.pm @@ -325,6 +325,10 @@ sub write_cupsd_conf { open F, ">$prefix/etc/cups/cupsd.conf"; print F @cupsd_conf; close F; + + #- restart cups after updating configuration. + require run_program; + run_program::rooted($prefix, "/etc/rc.d/init.d/cups restart"); sleep 1; } sub read_printers_conf { |