summaryrefslogtreecommitdiff
blob: 26498dd71c8c383ea05e21c08cc42cda1089b1ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/sbin/runscript
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-gfx/sane-backends/files/saned.initd,v 1.1 2013/03/15 08:15:52 phosphan Exp $

pidfile="/var/run/saned/saned.pid"
command="/usr/sbin/saned"
command_args="-a ${SANED_USER:-root}"

start_pre() {
	checkpath -d -o ${SANED_USER:-root} ${pidfile%/*}
}