Changeset c52c189 in freewrt


Ignore:
Timestamp:
Oct 27, 2006, 6:13:00 PM (19 years ago)
Author:
Dirk Nehring <dnehring@…>
Children:
1fa75ba
Parents:
3f31f15
Message:

Markus don't like my style, so I give up ;-)

git-svn-id: svn://www.freewrt.org/trunk/freewrt@1020 afb5a338-a214-0410-bd46-81f09a774fd1

Location:
package/openvpn/files
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • package/openvpn/files/openvpn.conf

    r3f31f15 rc52c189  
    1 cd /etc/openvpn
    21client
    32remote server.domain.tld
     
    1110persist-key
    1211verb 3
    13 daemon
  • package/openvpn/files/openvpn.init

    r3f31f15 rc52c189  
    44
    55case "$1" in
    6     autostart)
     6autostart)
    77        test x"${openvpn:-NO}" = x"NO" && exit 0
    88        exec $0 start
    99        ;;
    10     start)
     10start)
    1111        for c in $(ls /etc/openvpn/*.conf 2>&-); do
    12             openvpn --config "$c"
     12                openvpn --cd /etc/openvpn --config "$c" --daemon
    1313        done
    1414        ;;
    15     stop)
     15stop)
    1616        killall openvpn
    1717        ;;
    18     restart)
     18restart)
    1919        $0 stop
    2020        sleep 3
    2121        $0 start
    2222        ;;
    23     *)
     23*)
    2424        echo "Usage: $0 {start | stop | restart}"
    2525        exit 1
Note: See TracChangeset for help on using the changeset viewer.