#!/sbin/openrc-run
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-dialup/xl2tpd/files/xl2tpd-init-r1,v 1.3 2012/12/25 20:48:00 floppym Exp $

command="/usr/sbin/xl2tpd"
command_args="$XL2TPD_OPTS"
pidfile="/var/run/xl2tpd.pid"
required_files="/etc/xl2tpd/xl2tpd.conf"

start_pre() {
	checkpath -d /var/run/xl2tpd
}
