Compare commits

..

2 Commits

Author SHA1 Message Date
Felix Van der Jeugt
6371fccf33
don't backup more unreadable files 2021-09-06 17:02:00 +02:00
Felix Van der Jeugt
b64f921a9f
allow redirect for cammie screenshot 2021-09-06 17:02:00 +02:00
2 changed files with 3 additions and 2 deletions

View File

@ -80,6 +80,7 @@ abysm)
--compression lz4 \
--exclude-caches \
--exclude '/etc/dhcpcd.secret' \
--exclude '/etc/dracut.conf.d/*' \
--exclude '/etc/iwd/main.conf' \
--exclude '/etc/sv/*/supervise' \
--exclude '/etc/sv/*/log/run' \
@ -87,7 +88,7 @@ abysm)
--exclude '/etc/securetty' \
--exclude '/etc/wpa_supplicant/wpa_supplicant.conf' \
--exclude '/etc/sv/wpa_supplicant/conf' \
--exclude '/etc/sudoers.dist' \
--exclude '/etc/sudoers.*' \
--exclude '/etc/kernel.d/post-install/50-grub' \
--exclude '/etc/kernel.d/post-remove/50-grub' \
--exclude '/etc/gshadow-' \

View File

@ -6,7 +6,7 @@ if [ -n "$1" ]; then
while [ -n "$1" ]; do
case $1 in
scrot) foto="$(mktemp XXXXXX.jpg)"
curl http://kelder.zeus.ugent.be/webcam/video/mjpg.cgi \
curl -L http://kelder.zeus.ugent.be/webcam/video/mjpg.cgi \
| ffmpeg -y -ss 0 -i - -vframes 1 -q:v 2 "$foto"
feh "$foto"
rm "$foto"