mirror of
https://github.com/Mo3he/Axis_Cam_Tailscale.git
synced 2026-07-19 14:22:20 +00:00
Simplified Script
This commit is contained in:
@@ -1,17 +1,3 @@
|
||||
Copyright (C) 2022 Axis Communications AB, Lund, Sweden
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
<http://www.apache.org/licenses/LICENSE-2.0>
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
|
||||
BSD 3-Clause License
|
||||
|
||||
Copyright (c) 2020 Tailscale & AUTHORS.
|
||||
|
||||
@@ -1,18 +1,9 @@
|
||||
#!/bin/sh
|
||||
|
||||
|
||||
if [ ! -f "/etc/systemd/system/tailscaled.service" ]
|
||||
then
|
||||
echo "Service doesn't exist. Creating now"
|
||||
cp -f /usr/local/packages/Tailscale_VPN/lib/tailscaled.service /etc/systemd/system
|
||||
echo "Starting Service"
|
||||
chmod 777 /usr/local/packages/Tailscale_VPN/lib/tailscale
|
||||
chmod 777 /usr/local/packages/Tailscale_VPN/lib/tailscaled
|
||||
systemctl daemon-reload
|
||||
systemctl enable tailscaled.service
|
||||
systemctl start tailscaled.service
|
||||
echo "Service added"
|
||||
/usr/local/packages/Tailscale_VPN/lib/tailscale up
|
||||
else
|
||||
echo "Service exists"
|
||||
/usr/local/packages/Tailscale_VPN/lib/tailscale up
|
||||
fi
|
||||
/usr/local/packages/Tailscale_VPN/lib/tailscaled &
|
||||
echo "Service Started"
|
||||
echo "Scroll to Bottom for link"
|
||||
/usr/local/packages/Tailscale_VPN/lib/tailscale up
|
||||
@@ -2,6 +2,7 @@
|
||||
<html>
|
||||
<body>
|
||||
<head>
|
||||
<h1 style="color:red;">Scroll to the bottom to find authentication URL</h1>
|
||||
<script>
|
||||
function refreshIFrame() {
|
||||
var x = document.getElementById("*Your_iframe_id*");
|
||||
|
||||
@@ -1,15 +0,0 @@
|
||||
[Unit]
|
||||
Description=Tailscale node agent
|
||||
Documentation=https://tailscale.com/kb/
|
||||
Wants=network-pre.target
|
||||
After=network-pre.target NetworkManager.service systemd-resolved.service
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=+/usr/local/packages/Tailscale_VPN/lib/tailscaled --state=/var/lib/tailscale/tailscaled.state
|
||||
Restart=on-failure
|
||||
RestartSec=10
|
||||
KillMode=process
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
@@ -5,7 +5,7 @@
|
||||
"architecture": "aarch64",
|
||||
"appName": "Tailscale_VPN",
|
||||
"friendlyName": "Tailscale VPN",
|
||||
"vendor": "Tailscale",
|
||||
"vendor": "Tailscale - Packaged by Axis Labs",
|
||||
"embeddedSdkVersion": "3.0",
|
||||
"user": {
|
||||
"group": "root",
|
||||
@@ -14,9 +14,6 @@
|
||||
"vendorUrl": "https://www.tailscale.com",
|
||||
"runMode": "once",
|
||||
"version": "1.30.2"
|
||||
},
|
||||
"uninstallation": {
|
||||
"preUninstallScript": "preuninstallscript.sh"
|
||||
},
|
||||
"configuration": {
|
||||
"settingPage": "index.html"
|
||||
|
||||
@@ -1,17 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
|
||||
if [ ! -f "/etc/systemd/system/tailscaled.service" ]
|
||||
then
|
||||
echo "Service doesn't exist. Trying to remove anyway"
|
||||
/usr/local/packages/Tailscale_VPN/lib/tailscale down
|
||||
systemctl stop tailscaled.service
|
||||
rm /etc/systemd/system/tailscaled.service
|
||||
|
||||
echo "Service deleted"
|
||||
else
|
||||
echo "Service exists. Removing service"
|
||||
/usr/local/packages/Tailscale_VPN/lib/tailscale down
|
||||
systemctl stop tailscaled.service
|
||||
rm /etc/systemd/system/tailscaled.service
|
||||
fi
|
||||
@@ -1,17 +1,3 @@
|
||||
Copyright (C) 2022 Axis Communications AB, Lund, Sweden
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
<http://www.apache.org/licenses/LICENSE-2.0>
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
|
||||
BSD 3-Clause License
|
||||
|
||||
Copyright (c) 2020 Tailscale & AUTHORS.
|
||||
|
||||
@@ -1,18 +1,9 @@
|
||||
#!/bin/sh
|
||||
|
||||
|
||||
if [ ! -f "/etc/systemd/system/tailscaled.service" ]
|
||||
then
|
||||
echo "Service doesn't exist. Creating now"
|
||||
cp -f /usr/local/packages/Tailscale_VPN/lib/tailscaled.service /etc/systemd/system
|
||||
echo "Starting Service"
|
||||
chmod 777 /usr/local/packages/Tailscale_VPN/lib/tailscale
|
||||
chmod 777 /usr/local/packages/Tailscale_VPN/lib/tailscaled
|
||||
systemctl daemon-reload
|
||||
systemctl enable tailscaled.service
|
||||
systemctl start tailscaled.service
|
||||
echo "Service added"
|
||||
/usr/local/packages/Tailscale_VPN/lib/tailscale up
|
||||
else
|
||||
echo "Service exists"
|
||||
/usr/local/packages/Tailscale_VPN/lib/tailscale up
|
||||
fi
|
||||
/usr/local/packages/Tailscale_VPN/lib/tailscaled &
|
||||
echo "Service Started"
|
||||
echo "Scroll to Bottom for link"
|
||||
/usr/local/packages/Tailscale_VPN/lib/tailscale up
|
||||
@@ -1,17 +1,3 @@
|
||||
Copyright (C) 2022 Axis Communications AB, Lund, Sweden
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
<http://www.apache.org/licenses/LICENSE-2.0>
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
|
||||
BSD 3-Clause License
|
||||
|
||||
Copyright (c) 2020 Tailscale & AUTHORS.
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
<html>
|
||||
<body>
|
||||
<head>
|
||||
<h1 style="color:red;">Scroll to the bottom to find authentication URL</h1>
|
||||
<script>
|
||||
function refreshIFrame() {
|
||||
var x = document.getElementById("*Your_iframe_id*");
|
||||
|
||||
@@ -1,15 +0,0 @@
|
||||
[Unit]
|
||||
Description=Tailscale node agent
|
||||
Documentation=https://tailscale.com/kb/
|
||||
Wants=network-pre.target
|
||||
After=network-pre.target NetworkManager.service systemd-resolved.service
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=+/usr/local/packages/Tailscale_VPN/lib/tailscaled --state=/var/lib/tailscale/tailscaled.state
|
||||
Restart=on-failure
|
||||
RestartSec=10
|
||||
KillMode=process
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
@@ -5,7 +5,7 @@
|
||||
"architecture": "aarch64",
|
||||
"appName": "Tailscale_VPN",
|
||||
"friendlyName": "Tailscale VPN",
|
||||
"vendor": "Tailscale",
|
||||
"vendor": "Tailscale - Packaged by Axis Labs",
|
||||
"embeddedSdkVersion": "3.0",
|
||||
"user": {
|
||||
"group": "root",
|
||||
@@ -14,9 +14,6 @@
|
||||
"vendorUrl": "https://www.tailscale.com",
|
||||
"runMode": "once",
|
||||
"version": "1.30.2"
|
||||
},
|
||||
"uninstallation": {
|
||||
"preUninstallScript": "preuninstallscript.sh"
|
||||
},
|
||||
"configuration": {
|
||||
"settingPage": "index.html"
|
||||
|
||||
@@ -4,7 +4,7 @@ APPNAME="Tailscale_VPN"
|
||||
APPID=""
|
||||
LICENSENAME="Available"
|
||||
LICENSEPAGE="none"
|
||||
VENDOR="Tailscale"
|
||||
VENDOR="Tailscale - Packaged by Axis Labs"
|
||||
REQEMBDEVVERSION="3.0"
|
||||
APPMAJORVERSION="1"
|
||||
APPMINORVERSION="30"
|
||||
@@ -12,7 +12,7 @@ APPMICROVERSION="2"
|
||||
APPGRP="root"
|
||||
APPUSR="root"
|
||||
APPOPTS=""
|
||||
OTHERFILES="preuninstallscript.sh"
|
||||
OTHERFILES=""
|
||||
SETTINGSPAGEFILE="index.html"
|
||||
SETTINGSPAGETEXT=""
|
||||
VENDORHOMEPAGELINK='<a href="https://www.tailscale.com" target="_blank">www.tailscale.com</a>'
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
APPTYPE="aarch64"
|
||||
APPNAME="Tailscale_VPN"
|
||||
PACKAGENAME="Tailscale VPN"
|
||||
VENDOR="Tailscale"
|
||||
VENDOR="Tailscale - Packaged by Axis Labs"
|
||||
REQEMBDEVVERSION="3.0"
|
||||
APPGRP="root"
|
||||
APPUSR="root"
|
||||
@@ -11,4 +11,3 @@ APPMAJORVERSION="1"
|
||||
APPMINORVERSION="30"
|
||||
APPMICROVERSION="2"
|
||||
SETTINGSPAGEFILE="index.html"
|
||||
OTHERFILES="preuninstallscript.sh"
|
||||
|
||||
@@ -1,17 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
|
||||
if [ ! -f "/etc/systemd/system/tailscaled.service" ]
|
||||
then
|
||||
echo "Service doesn't exist. Trying to remove anyway"
|
||||
/usr/local/packages/Tailscale_VPN/lib/tailscale down
|
||||
systemctl stop tailscaled.service
|
||||
rm /etc/systemd/system/tailscaled.service
|
||||
|
||||
echo "Service deleted"
|
||||
else
|
||||
echo "Service exists. Removing service"
|
||||
/usr/local/packages/Tailscale_VPN/lib/tailscale down
|
||||
systemctl stop tailscaled.service
|
||||
rm /etc/systemd/system/tailscaled.service
|
||||
fi
|
||||
@@ -1,17 +1,3 @@
|
||||
Copyright (C) 2022 Axis Communications AB, Lund, Sweden
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
<http://www.apache.org/licenses/LICENSE-2.0>
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
|
||||
BSD 3-Clause License
|
||||
|
||||
Copyright (c) 2020 Tailscale & AUTHORS.
|
||||
|
||||
+5
-14
@@ -1,18 +1,9 @@
|
||||
#!/bin/sh
|
||||
|
||||
|
||||
if [ ! -d "/etc/systemd/system/tailscaled.service" ]
|
||||
then
|
||||
echo "Service doesn't exist. Creating now"
|
||||
cp -f /usr/local/packages/Tailscale_VPN/lib/tailscaled.service /etc/systemd/system
|
||||
echo "Starting Service"
|
||||
chmod 777 /usr/local/packages/Tailscale_VPN/lib/tailscale
|
||||
chmod 777 /usr/local/packages/Tailscale_VPN/lib/tailscaled
|
||||
systemctl daemon-reload
|
||||
systemctl enable tailscaled.service
|
||||
systemctl start tailscaled.service
|
||||
echo "Service added"
|
||||
/usr/local/packages/Tailscale_VPN/lib/tailscale up
|
||||
else
|
||||
echo "Service exists"
|
||||
/usr/local/packages/Tailscale_VPN/lib/tailscale up
|
||||
fi
|
||||
/usr/local/packages/Tailscale_VPN/lib/tailscaled &
|
||||
echo "Service Started"
|
||||
echo "Scroll to Bottom for link"
|
||||
/usr/local/packages/Tailscale_VPN/lib/tailscale up
|
||||
@@ -2,6 +2,7 @@
|
||||
<html>
|
||||
<body>
|
||||
<head>
|
||||
<h1 style="color:red;">Scroll to the bottom to find authentication URL</h1>
|
||||
<script>
|
||||
function refreshIFrame() {
|
||||
var x = document.getElementById("*Your_iframe_id*");
|
||||
|
||||
@@ -1,15 +0,0 @@
|
||||
[Unit]
|
||||
Description=Tailscale node agent
|
||||
Documentation=https://tailscale.com/kb/
|
||||
Wants=network-pre.target
|
||||
After=network-pre.target NetworkManager.service systemd-resolved.service
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=+/usr/local/packages/Tailscale_VPN/lib/tailscaled --state=/var/lib/tailscale/tailscaled.state
|
||||
Restart=on-failure
|
||||
RestartSec=10
|
||||
KillMode=process
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
@@ -5,7 +5,7 @@
|
||||
"architecture": "armv7hf",
|
||||
"appName": "Tailscale_VPN",
|
||||
"friendlyName": "Tailscale VPN",
|
||||
"vendor": "Tailscale",
|
||||
"vendor": "Tailscale - Packaged by Axis Labs",
|
||||
"embeddedSdkVersion": "3.0",
|
||||
"user": {
|
||||
"group": "root",
|
||||
@@ -15,9 +15,6 @@
|
||||
"runMode": "once",
|
||||
"version": "1.30.2"
|
||||
},
|
||||
"uninstallation": {
|
||||
"preUninstallScript": "preuninstallscript.sh"
|
||||
},
|
||||
"configuration": {
|
||||
"settingPage": "index.html"
|
||||
}
|
||||
|
||||
@@ -1,17 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
|
||||
if [ ! -f "/etc/systemd/system/tailscaled.service" ]
|
||||
then
|
||||
echo "Service doesn't exist. Trying to remove anyway"
|
||||
/usr/local/packages/Tailscale_VPN/lib/tailscale down
|
||||
systemctl stop tailscaled.service
|
||||
rm /etc/systemd/system/tailscaled.service
|
||||
|
||||
echo "Service deleted"
|
||||
else
|
||||
echo "Service exists. Removing service"
|
||||
/usr/local/packages/Tailscale_VPN/lib/tailscale down
|
||||
systemctl stop tailscaled.service
|
||||
rm /etc/systemd/system/tailscaled.service
|
||||
fi
|
||||
@@ -1,17 +1,3 @@
|
||||
Copyright (C) 2022 Axis Communications AB, Lund, Sweden
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
<http://www.apache.org/licenses/LICENSE-2.0>
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
|
||||
BSD 3-Clause License
|
||||
|
||||
Copyright (c) 2020 Tailscale & AUTHORS.
|
||||
|
||||
+5
-14
@@ -1,18 +1,9 @@
|
||||
#!/bin/sh
|
||||
|
||||
|
||||
if [ ! -d "/etc/systemd/system/tailscaled.service" ]
|
||||
then
|
||||
echo "Service doesn't exist. Creating now"
|
||||
cp -f /usr/local/packages/Tailscale_VPN/lib/tailscaled.service /etc/systemd/system
|
||||
echo "Starting Service"
|
||||
chmod 777 /usr/local/packages/Tailscale_VPN/lib/tailscale
|
||||
chmod 777 /usr/local/packages/Tailscale_VPN/lib/tailscaled
|
||||
systemctl daemon-reload
|
||||
systemctl enable tailscaled.service
|
||||
systemctl start tailscaled.service
|
||||
echo "Service added"
|
||||
/usr/local/packages/Tailscale_VPN/lib/tailscale up
|
||||
else
|
||||
echo "Service exists"
|
||||
/usr/local/packages/Tailscale_VPN/lib/tailscale up
|
||||
fi
|
||||
/usr/local/packages/Tailscale_VPN/lib/tailscaled &
|
||||
echo "Service Started"
|
||||
echo "Scroll to Bottom for link"
|
||||
/usr/local/packages/Tailscale_VPN/lib/tailscale up
|
||||
@@ -1,43 +0,0 @@
|
||||
Copyright (C) 2022 Axis Communications AB, Lund, Sweden
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
<http://www.apache.org/licenses/LICENSE-2.0>
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
|
||||
BSD 3-Clause License
|
||||
|
||||
Copyright (c) 2020 Tailscale & AUTHORS.
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions are met:
|
||||
|
||||
1. Redistributions of source code must retain the above copyright notice, this
|
||||
list of conditions and the following disclaimer.
|
||||
|
||||
2. Redistributions in binary form must reproduce the above copyright notice,
|
||||
this list of conditions and the following disclaimer in the documentation
|
||||
and/or other materials provided with the distribution.
|
||||
|
||||
3. Neither the name of the copyright holder nor the names of its
|
||||
contributors may be used to endorse or promote products derived from
|
||||
this software without specific prior written permission.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
||||
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
||||
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
||||
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
||||
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
-14
@@ -1,17 +1,3 @@
|
||||
Copyright (C) 2022 Axis Communications AB, Lund, Sweden
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
<http://www.apache.org/licenses/LICENSE-2.0>
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
|
||||
BSD 3-Clause License
|
||||
|
||||
Copyright (c) 2020 Tailscale & AUTHORS.
|
||||
@@ -1,43 +0,0 @@
|
||||
Copyright (C) 2022 Axis Communications AB, Lund, Sweden
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
<http://www.apache.org/licenses/LICENSE-2.0>
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
|
||||
BSD 3-Clause License
|
||||
|
||||
Copyright (c) 2020 Tailscale & AUTHORS.
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions are met:
|
||||
|
||||
1. Redistributions of source code must retain the above copyright notice, this
|
||||
list of conditions and the following disclaimer.
|
||||
|
||||
2. Redistributions in binary form must reproduce the above copyright notice,
|
||||
this list of conditions and the following disclaimer in the documentation
|
||||
and/or other materials provided with the distribution.
|
||||
|
||||
3. Neither the name of the copyright holder nor the names of its
|
||||
contributors may be used to endorse or promote products derived from
|
||||
this software without specific prior written permission.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
||||
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
||||
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
||||
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
||||
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
@@ -1 +0,0 @@
|
||||
nop:
|
||||
@@ -1,18 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
|
||||
if [ ! -d "/etc/systemd/system/tailscaled.service" ]
|
||||
then
|
||||
echo "Service doesn't exist. Creating now"
|
||||
cp -f /usr/local/packages/Tailscale_VPN/lib/tailscaled.service /etc/systemd/system
|
||||
chmod 777 /usr/local/packages/Tailscale_VPN/lib/tailscale
|
||||
chmod 777 /usr/local/packages/Tailscale_VPN/lib/tailscaled
|
||||
systemctl daemon-reload
|
||||
systemctl enable tailscaled.service
|
||||
systemctl start tailscaled.service
|
||||
echo "Service added"
|
||||
/usr/local/packages/Tailscale_VPN/lib/tailscale up
|
||||
else
|
||||
echo "Service exists"
|
||||
/usr/local/packages/Tailscale_VPN/lib/tailscale up
|
||||
fi
|
||||
@@ -1,18 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<body>
|
||||
<head>
|
||||
<script>
|
||||
function refreshIFrame() {
|
||||
var x = document.getElementById("*Your_iframe_id*");
|
||||
x.contentWindow.location.reload();
|
||||
var t = setTimeout(refreshIFrame, 5000);
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body onload="refreshIFrame()">
|
||||
<iframe id="*Your_iframe_id*" src= "/axis-cgi/admin/systemlog.cgi?appname=Tailscale_VPN" style="height:600px;width:100%;border: none;" ></iframe>
|
||||
</body>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,15 +0,0 @@
|
||||
[Unit]
|
||||
Description=Tailscale node agent
|
||||
Documentation=https://tailscale.com/kb/
|
||||
Wants=network-pre.target
|
||||
After=network-pre.target NetworkManager.service systemd-resolved.service
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=+/usr/local/packages/Tailscale_VPN/lib/tailscaled --state=/var/lib/tailscale/tailscaled.state
|
||||
Restart=on-failure
|
||||
RestartSec=10
|
||||
KillMode=process
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
@@ -1,26 +0,0 @@
|
||||
{
|
||||
"schemaVersion": "1.3",
|
||||
"acapPackageConf": {
|
||||
"setup": {
|
||||
"architecture": "armv7hf",
|
||||
"appName": "Tailscale_VPN",
|
||||
"friendlyName": "Tailscale VPN",
|
||||
"vendor": "Tailscale",
|
||||
"embeddedSdkVersion": "3.0",
|
||||
"user": {
|
||||
"group": "root",
|
||||
"username": "root"
|
||||
},
|
||||
"vendorUrl": "https://www.tailscale.com",
|
||||
"runMode": "once",
|
||||
"version": "1.30.2"
|
||||
},
|
||||
"uninstallation": {
|
||||
"preUninstallScript": "preuninstallscript.sh"
|
||||
},
|
||||
"configuration": {
|
||||
"settingPage": "index.html"
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
@@ -1,22 +0,0 @@
|
||||
PACKAGENAME="Tailscale VPN"
|
||||
APPTYPE="armv7hf"
|
||||
APPNAME="Tailscale_VPN"
|
||||
APPID=""
|
||||
LICENSENAME="Available"
|
||||
LICENSEPAGE="none"
|
||||
VENDOR="Tailscale"
|
||||
REQEMBDEVVERSION="3.0"
|
||||
APPMAJORVERSION="1"
|
||||
APPMINORVERSION="30"
|
||||
APPMICROVERSION="2"
|
||||
APPGRP="root"
|
||||
APPUSR="root"
|
||||
APPOPTS=""
|
||||
OTHERFILES="preuninstallscript.sh"
|
||||
SETTINGSPAGEFILE="index.html"
|
||||
SETTINGSPAGETEXT=""
|
||||
VENDORHOMEPAGELINK='<a href="https://www.tailscale.com" target="_blank">www.tailscale.com</a>'
|
||||
PREUPGRADESCRIPT=""
|
||||
POSTINSTALLSCRIPT=""
|
||||
STARTMODE="once"
|
||||
HTTPCGIPATHS=""
|
||||
@@ -1,14 +0,0 @@
|
||||
APPTYPE="armv7hf"
|
||||
APPNAME="Tailscale_VPN"
|
||||
PACKAGENAME="Tailscale VPN"
|
||||
VENDOR="Tailscale"
|
||||
REQEMBDEVVERSION="3.0"
|
||||
APPGRP="root"
|
||||
APPUSR="root"
|
||||
VENDORHOMEPAGELINK='<a href="https://www.tailscale.com" target="_blank">www.tailscale.com</a>'
|
||||
STARTMODE="once"
|
||||
APPMAJORVERSION="1"
|
||||
APPMINORVERSION="30"
|
||||
APPMICROVERSION="2"
|
||||
SETTINGSPAGEFILE="index.html"
|
||||
OTHERFILES="preuninstallscript.sh"
|
||||
@@ -1,17 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
|
||||
if [ ! -f "/etc/systemd/system/tailscaled.service" ]
|
||||
then
|
||||
echo "Service doesn't exist. Trying to remove anyway"
|
||||
/usr/local/packages/Tailscale_VPN/lib/tailscale down
|
||||
systemctl stop tailscaled.service
|
||||
rm /etc/systemd/system/tailscaled.service
|
||||
|
||||
echo "Service deleted"
|
||||
else
|
||||
echo "Service exists. Removing service"
|
||||
/usr/local/packages/Tailscale_VPN/lib/tailscale down
|
||||
systemctl stop tailscaled.service
|
||||
rm /etc/systemd/system/tailscaled.service
|
||||
fi
|
||||
@@ -2,6 +2,7 @@
|
||||
<html>
|
||||
<body>
|
||||
<head>
|
||||
<h1 style="color:red;">Scroll to the bottom to find authentication URL</h1>
|
||||
<script>
|
||||
function refreshIFrame() {
|
||||
var x = document.getElementById("*Your_iframe_id*");
|
||||
|
||||
Regular → Executable
BIN
Binary file not shown.
Regular → Executable
BIN
Binary file not shown.
@@ -1,15 +0,0 @@
|
||||
[Unit]
|
||||
Description=Tailscale node agent
|
||||
Documentation=https://tailscale.com/kb/
|
||||
Wants=network-pre.target
|
||||
After=network-pre.target NetworkManager.service systemd-resolved.service
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/usr/local/packages/Tailscale_VPN/lib/tailscaled --state=/var/lib/tailscale/tailscaled.state
|
||||
Restart=on-failure
|
||||
RestartSec=10
|
||||
KillMode=process
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
@@ -5,7 +5,7 @@
|
||||
"architecture": "armv7hf",
|
||||
"appName": "Tailscale_VPN",
|
||||
"friendlyName": "Tailscale VPN",
|
||||
"vendor": "Tailscale",
|
||||
"vendor": "Tailscale - Packaged by Axis Labs",
|
||||
"embeddedSdkVersion": "3.0",
|
||||
"user": {
|
||||
"group": "root",
|
||||
@@ -13,10 +13,7 @@
|
||||
},
|
||||
"vendorUrl": "https://www.tailscale.com",
|
||||
"runMode": "once",
|
||||
"version": "1.30.0"
|
||||
},
|
||||
"uninstallation": {
|
||||
"preUninstallScript": "preuninstallscript.sh"
|
||||
"version": "1.30.2"
|
||||
},
|
||||
"configuration": {
|
||||
"settingPage": "index.html"
|
||||
|
||||
@@ -4,15 +4,15 @@ APPNAME="Tailscale_VPN"
|
||||
APPID=""
|
||||
LICENSENAME="Available"
|
||||
LICENSEPAGE="none"
|
||||
VENDOR="Tailscale"
|
||||
VENDOR="Tailscale - Packaged by Axis Labs"
|
||||
REQEMBDEVVERSION="3.0"
|
||||
APPMAJORVERSION="1"
|
||||
APPMINORVERSION="30"
|
||||
APPMICROVERSION="0"
|
||||
APPMICROVERSION="2"
|
||||
APPGRP="root"
|
||||
APPUSR="root"
|
||||
APPOPTS=""
|
||||
OTHERFILES="preuninstallscript.sh"
|
||||
OTHERFILES=""
|
||||
SETTINGSPAGEFILE="index.html"
|
||||
SETTINGSPAGETEXT=""
|
||||
VENDORHOMEPAGELINK='<a href="https://www.tailscale.com" target="_blank">www.tailscale.com</a>'
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
APPTYPE="armv7hf"
|
||||
APPNAME="Tailscale_VPN"
|
||||
PACKAGENAME="Tailscale VPN"
|
||||
VENDOR="Tailscale"
|
||||
VENDOR="Tailscale - Packaged by Axis Labs"
|
||||
REQEMBDEVVERSION="3.0"
|
||||
APPGRP="root"
|
||||
APPUSR="root"
|
||||
@@ -9,6 +9,5 @@ VENDORHOMEPAGELINK='<a href="https://www.tailscale.com" target="_blank">www.tail
|
||||
STARTMODE="once"
|
||||
APPMAJORVERSION="1"
|
||||
APPMINORVERSION="30"
|
||||
APPMICROVERSION="0"
|
||||
APPMICROVERSION="2"
|
||||
SETTINGSPAGEFILE="index.html"
|
||||
OTHERFILES="preuninstallscript.sh"
|
||||
|
||||
@@ -1,17 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
|
||||
if [ ! -f "/etc/systemd/system/tailscaled.service" ]
|
||||
then
|
||||
echo "Service doesn't exist. Trying to remove anyway"
|
||||
/usr/local/packages/Tailscale_VPN/lib/tailscale down
|
||||
systemctl stop tailscaled.service
|
||||
rm /etc/systemd/system/tailscaled.service
|
||||
|
||||
echo "Service deleted"
|
||||
else
|
||||
echo "Service exists. Removing service"
|
||||
/usr/local/packages/Tailscale_VPN/lib/tailscale down
|
||||
systemctl stop tailscaled.service
|
||||
rm /etc/systemd/system/tailscaled.service
|
||||
fi
|
||||
Reference in New Issue
Block a user