Skip to content

Commit fdf4bb3

Browse files
committed
Add license header
1 parent 73f9b7d commit fdf4bb3

File tree

2 files changed

+40
-1
lines changed

2 files changed

+40
-1
lines changed

src/kcptun

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,24 @@
11
#!/bin/sh
2-
# use sh rather than bash in order to work correctly on router device which has no bash installed.
2+
# Permission is hereby granted, free of charge, to any person obtaining a copy
3+
# of this software and associated documentation files (the "Software"), to deal
4+
# in the Software without restriction, including without limitation the rights
5+
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
6+
# copies of the Software, and to permit persons to whom the Software is
7+
# furnished to do so, subject to the following conditions:
8+
#
9+
# The above copyright notice and this permission notice shall be included in all
10+
# copies or substantial portions of the Software.
11+
#
12+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
13+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
14+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
15+
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
16+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
17+
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18+
# SOFTWARE.
19+
#
20+
# If you have suggestions or find some bug of this script, please create an issue on this page
21+
# https://github.com/zhanhb/kcptun-sip003-wrapper/issues
322
set -e
423

524
child_pid=

src/kcptun.cmd

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,24 @@
11
@echo off & (
2+
rem Permission is hereby granted, free of charge, to any person obtaining a copy
3+
rem of this software and associated documentation files (the "Software"), to deal
4+
rem in the Software without restriction, including without limitation the rights
5+
rem to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
6+
rem copies of the Software, and to permit persons to whom the Software is
7+
rem furnished to do so, subject to the following conditions:
8+
9+
rem The above copyright notice and this permission notice shall be included in all
10+
rem copies or substantial portions of the Software.
11+
12+
rem THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
13+
rem IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
14+
rem FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
15+
rem AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
16+
rem LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
17+
rem OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18+
rem SOFTWARE.
19+
20+
rem If you have suggestions or find some bug of this script, please create an issue on this page
21+
rem https://github.com/zhanhb/kcptun-sip003-wrapper/issues
222
setlocal EnableExtensions EnableDelayedExpansion
323

424
rem find binary

0 commit comments

Comments
 (0)