Skip to content
Snippets Groups Projects
Commit c3c32957 authored by Tails developers's avatar Tails developers
Browse files

Merge branch 'feature/persistent_printers' into devel

parents 038f0a25 b0bd7694
No related branches found
No related tags found
No related merge requests found
......@@ -7,7 +7,7 @@ Tails-specific: reload CUPS configuration to take into account persistent printe
fi
+# Reload CUPS configuration to take persistent printers into account if necessary
+if $(grep '/etc/cups' /live/persistence/*_unlocked/live-persistence.conf > /dev/null); then
+if grep -qs '^/etc/cups\s\+' /live/persistence/*_unlocked/live-persistence.conf ; then
+ service cups force-reload
+fi
+
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment