Skip to content

Commit a5c1575

Browse files
committed
preserve last log
1 parent 4b46509 commit a5c1575

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

debian/control

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Homepage: https://github.com/ipitio/closure
44
Standards-Version: 3.9.2
55

66
Package: closure
7-
Version: 1.6.21
7+
Version: 1.6.22
88
Maintainer: ipitio <[email protected]>
99
Depends: curl, flatpak, gpg, hostapd, isc-dhcp-server, iw, macchanger, netplan.io, network-manager, net-tools, qrencode, rfkill, wireguard, wireless-tools, wget
1010
Recommends: containerd.io, docker-ce, docker-ce-cli, docker-buildx-plugin, docker-compose-plugin

kickstart.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
script_path="$(dirname "$(readlink -f "$0")")"
55
sudo -i bash <<EOF
66
pushd "$script_path" || exit 1
7+
[ ! -f start.log ] || mv start.log start.log.old 2>/dev/null
78
CLS_WG_ONLY=${CLS_WG_ONLY:-false} bash start.sh ${@@Q} &>start.log
89
popd || exit 1
910
EOF

rc.local

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#!/bin/bash
22

33
# closure
4+
[ ! -f /opt/closure/init.log ] || mv /opt/closure/init.log /opt/closure/init.log.old 2>/dev/null
45
[ -f /opt/closure/installed ] || bash /opt/closure/init.sh &>/opt/closure/init.log
56
ifconfig | grep -oP '^\S+(?=:)' | xargs -P0 -I{} bash -c 'ifconfig "{}" down; macchanger -r "{}"; ifconfig "{}" up' &>/dev/null

0 commit comments

Comments
 (0)