Lines 2-8
Link Here
|
2 |
# |
2 |
# |
3 |
# openvpn.sh - load tun/tap driver and start OpenVPN daemon |
3 |
# openvpn.sh - load tun/tap driver and start OpenVPN daemon |
4 |
# |
4 |
# |
5 |
# (C) Copyright 2005 - 2007 by Matthias Andree |
5 |
# (C) Copyright 2005 - 2008 by Matthias Andree |
6 |
# based on suggestions by Matthias Grimm and Dirk Gouders |
6 |
# based on suggestions by Matthias Grimm and Dirk Gouders |
7 |
# with multi-instance contribution from Denis Shaposhnikov, Gleb Kozyrev |
7 |
# with multi-instance contribution from Denis Shaposhnikov, Gleb Kozyrev |
8 |
# and Vasil Dimov |
8 |
# and Vasil Dimov |
Lines 126-131
Link Here
|
126 |
interfaces="$(eval echo \${${name}_if})" |
126 |
interfaces="$(eval echo \${${name}_if})" |
127 |
|
127 |
|
128 |
required_files=${configfile} |
128 |
required_files=${configfile} |
129 |
command_args="--cd ${dir} --daemon --config ${configfile} --writepid ${pidfile}" |
129 |
command_args="--cd ${dir} --daemon ${name} --config ${configfile} --writepid ${pidfile}" |
130 |
|
130 |
|
131 |
run_rc_command "$1" |
131 |
run_rc_command "$1" |