summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Hüttel <dilfridge@gentoo.org>2012-01-15 20:19:54 +0000
committerAndreas K. Hüttel <dilfridge@gentoo.org>2012-01-15 20:19:54 +0000
commit0ef54e5be5f5a61fb6017d402f1721b78242cc85 (patch)
tree70721e4e4569a17bf58bbf5c5f42f196c2d83fec /net-print/cups/files
parentAdd Debian patchset from upstream, fix more compile errors, add gcc-4.6 suppo... (diff)
downloadgentoo-2-0ef54e5be5f5a61fb6017d402f1721b78242cc85.tar.gz
gentoo-2-0ef54e5be5f5a61fb6017d402f1721b78242cc85.tar.bz2
gentoo-2-0ef54e5be5f5a61fb6017d402f1721b78242cc85.zip
Create dirs in /var/run in initscript, bug 387893
(Portage version: 2.1.10.44/cvs/Linux x86_64)
Diffstat (limited to 'net-print/cups/files')
-rw-r--r--net-print/cups/files/cupsd.init.d2
1 files changed, 2 insertions, 0 deletions
diff --git a/net-print/cups/files/cupsd.init.d b/net-print/cups/files/cupsd.init.d
index e5529eecccff..1e9ccf8381c9 100644
--- a/net-print/cups/files/cupsd.init.d
+++ b/net-print/cups/files/cupsd.init.d
@@ -9,6 +9,8 @@ depend() {
start() {
ebegin "Starting cupsd"
+ checkpath -q -d -m 0755 -o root:lp /var/run/cups
+ checkpath -q -d -m 0511 -o lp:lpadmin /var/run/cups/certs
start-stop-daemon --start --quiet --exec /usr/sbin/cupsd
eend $?
}