Changeset 7469 for 2.0


Ignore:
Timestamp:
Feb 5, 2010, 3:16:41 PM (15 years ago)
Author:
richardvm
Message:

change ssntun startup script to use the flags variable (Trac:proxyfactory#18)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 2.0/nanobsd/nanobsd/files/usr/local/etc/rc.d/sshtun

    r7417 r7469  
    1313rcvar=`set_rcvar`
    1414
    15 port=${sshtun_port}
     15flags=${sshtun_flags}
    1616
    1717command=/usr/local/sshtun/sshtun.sh
     
    2828sshtun_start()
    2929{
    30   ${command} start ${port} &
     30  ${command} start ${flags} &
    3131}
    3232
    3333sshtun_stop()
    3434{
    35   ${command} stop ${port}
     35  ${command} stop
    3636}
    3737
Note: See TracChangeset for help on using the changeset viewer.