Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 447114
Collapse All | Expand All

(-)openconnect.init.in (-2 / +2 lines)
Lines 1-7 Link Here
1
#!/sbin/runscript
1
#!/sbin/runscript
2
# Copyright 1999-2012 Gentoo Foundation
2
# Copyright 1999-2012 Gentoo Foundation
3
# Distributed under the terms of the GNU General Public License v2
3
# Distributed under the terms of the GNU General Public License v2
4
# $Header: /var/cvsroot/gentoo-x86/net-misc/openconnect/files/openconnect.init.in,v 1.3 2012/12/11 19:45:50 hwoarang Exp $
4
# $Header: $
5
5
6
VPN="${RC_SVCNAME#*.}"
6
VPN="${RC_SVCNAME#*.}"
7
VPNLOG="/var/log/openconnect/${VPN}"
7
VPNLOG="/var/log/openconnect/${VPN}"
Lines 82-88 Link Here
82
82
83
	start-stop-daemon --start --make-pidfile --pidfile "${VPNPID}" --stderr "${VPNERRFILE}" --stdout "${VPNLOGFILE}" --background \
83
	start-stop-daemon --start --make-pidfile --pidfile "${VPNPID}" --stderr "${VPNERRFILE}" --stdout "${VPNLOGFILE}" --background \
84
			--exec /usr/sbin/openconnect \
84
			--exec /usr/sbin/openconnect \
85
			-- ${!VPNOPTS} ${!SERVER} <<< ${!PASSWORD}
85
			-- --pid-file="${VPNPID}" ${!VPNOPTS} ${!SERVER} <<< ${!PASSWORD}
86
86
87
 	local retval=$?
87
 	local retval=$?
88
88

Return to bug 447114