Symlink bat to /usr/bin/batcat
This commit is contained in:
parent
820055d879
commit
2b1316d275
|
@ -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
|
|
@ -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
|
Loading…
Reference in New Issue