Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 21508 Details for
Bug 34341
openvpn-1.5.0.ebuild
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Improved startup script
T (text/plain), 1.01 KB, created by
Thomas Bullinger
on 2003-11-30 09:39:55 UTC
(
hide
)
Description:
Improved startup script
Filename:
MIME Type:
Creator:
Thomas Bullinger
Created:
2003-11-30 09:39:55 UTC
Size:
1.01 KB
patch
obsolete
>#!/sbin/runscript > >VPNDIR="/etc/openvpn" > >depend() { > need net >} > >checkconfig() { > mkdir -p $VPNDIR > [ -f $VPNDIR/static.key ] || /usr/sbin/openvpn --genkey --secret $VPNDIR/static.key > chmod 400 $VPNDIR/static.key >} > >start() { > checkconfig || return 1 > > cd $VPNDIR > for VPN in * > do > [ -d $VPN ] || continue > ebegin "Starting openvpn for $VPN" > start-stop-daemon --start --pidfile \ > /var/run/openvpn-$VPN.pid --startas /usr/sbin/openvpn \ > -- --config $VPN/local.conf --writepid \ > /var/run/openvpn-$VPN.pid \ > --daemon --cd $VPN > eend $? > done >} > >stop() { > cd $VPNDIR > for VPN in * > do > [ -d $VPN ] || continue > ebegin "Stoping openvpn for $VPN" > start-stop-daemon --stop --pidfile /var/run/openvpn-$VPN.pid > eend $? > done >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 34341
:
21266
|
21267
|
21281
| 21508