Changeset 8571 for 2.0/nanobsd
- Timestamp:
- Oct 16, 2010, 2:30:47 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
2.0/nanobsd/nanobsd/files/usr/local/sshtun/sshtun.sh
r8569 r8571 29 29 REMOTEWAIT=`expr 3600 \* 24 \* 365` 30 30 31 # Make sure a port is specified 32 if [ -z "$SSH_FLAGS" ]; then 33 echo "Usage: $0 <SSH_CLIENT_FLAGS>" 34 exit 64 35 fi 36 31 37 log() { 32 38 echo `date "+%b %e %T"` ": " $* >> ${LOGFILE} … … 49 55 trap "trap_exit" 0 1 2 15 50 56 51 # Make sure a port is specified52 if [ -z "$SSH_FLAGS" ]; then53 echo "Usage: $0 <SSH_CLIENT_FLAGS>"54 exit 6455 fi56 57 57 58 # Main program
Note:
See TracChangeset
for help on using the changeset viewer.