diff --git a/bat b/bat index d2682cc..eb4a6ea 120000 --- a/bat +++ b/bat @@ -1 +1 @@ -/bin/batcat \ No newline at end of file +/usr/bin/batcat \ No newline at end of file diff --git a/btrfs.clean.snapshot.sh b/btrfs.clean.snapshot.sh new file mode 100755 index 0000000..27dcbee --- /dev/null +++ b/btrfs.clean.snapshot.sh @@ -0,0 +1,15 @@ +#!/bin/bash + +file="${1}" + +while read a +do snapshot=$(echo ${a%%/$file}) + printf '%s' "btrfs property set ${snapshot} ro false" + printf '%s' "rm --force -- ${a}" + printf '%s' "btrfs property set ${snapshot} ro true" + #btrfs property set "${snapshot}" ro false + #rm --force -- "${a}" + #btrfs property set "${snapshot}" ro true +done < <(find /.snapshots/ -name "${file}") + +exit 0 diff --git a/debian/interfaces.ks2 b/debian/interfaces.ks2 new file mode 100644 index 0000000..1740eb0 --- /dev/null +++ b/debian/interfaces.ks2 @@ -0,0 +1,27 @@ +# This file describes the network interfaces available on your system +# and how to activate them. For more information, see interfaces(5). + +# The loopback network interface +auto lo +iface lo inet loopback +# This file is managed remotely, all changes will be lost + +allow-hotplug eno1 +iface eno1 inet static + address 37.187.1.62 + netmask 255.255.255.0 + gateway 37.187.1.254 + dns-nameservers 80.67.169.12 80.67.169.40 + #post-up echo 1 > /proc/sys/net/ipv4/ip_forward + #post-up echo 1 > /proc/sys/net/ipv4/conf/eno1/proxy_arp + +# This file is managed remotely, all changes will be lost + +#allow-boot vmbr0 +#iface vmbr0 inet manual + #up ip addr add 10.0.0.254/24 dev vmbr0 label vmbr0:0 + #down ip addr del 10.0.0.254/24 dev vmbr0 label vmbr0:0 + #bridge_fd 0 + #bridge_maxwait 0 + #bridge_ports none + #bridge_stp off diff --git a/sslsrv b/sslsrv new file mode 100755 index 0000000..51e8a3c --- /dev/null +++ b/sslsrv @@ -0,0 +1,5 @@ +#!/bin/bash + + +cd /home/jegardai/wd/vpn/sslsrv + sudo ./firefox --new-instance --profile /home/jegardai/wd/vpn/sslsrv/profile/