From fdf4bb34177c7d14a13f464910f7a2bc2f76a228 Mon Sep 17 00:00:00 2001 From: zhanhb <6323014+zhanhb@users.noreply.github.com> Date: Tue, 16 Jul 2019 09:19:27 +0800 Subject: [PATCH] Add license header --- src/kcptun | 21 ++++++++++++++++++++- src/kcptun.cmd | 20 ++++++++++++++++++++ 2 files changed, 40 insertions(+), 1 deletion(-) diff --git a/src/kcptun b/src/kcptun index 04c000c..3efdadd 100755 --- a/src/kcptun +++ b/src/kcptun @@ -1,5 +1,24 @@ #!/bin/sh -# use sh rather than bash in order to work correctly on router device which has no bash installed. +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# +# If you have suggestions or find some bug of this script, please create an issue on this page +# https://github.com/zhanhb/kcptun-sip003-wrapper/issues set -e child_pid= diff --git a/src/kcptun.cmd b/src/kcptun.cmd index d410348..3668ed9 100644 --- a/src/kcptun.cmd +++ b/src/kcptun.cmd @@ -1,4 +1,24 @@ @echo off & ( + rem Permission is hereby granted, free of charge, to any person obtaining a copy + rem of this software and associated documentation files (the "Software"), to deal + rem in the Software without restriction, including without limitation the rights + rem to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + rem copies of the Software, and to permit persons to whom the Software is + rem furnished to do so, subject to the following conditions: + + rem The above copyright notice and this permission notice shall be included in all + rem copies or substantial portions of the Software. + + rem THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + rem IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + rem FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + rem AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + rem LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + rem OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + rem SOFTWARE. + + rem If you have suggestions or find some bug of this script, please create an issue on this page + rem https://github.com/zhanhb/kcptun-sip003-wrapper/issues setlocal EnableExtensions EnableDelayedExpansion rem find binary