A few things to work with FreeBSD

This commit is contained in:
Colin Powell
2020-01-27 01:01:51 -05:00
parent 9d9fc04c39
commit adc472661f
3 changed files with 13 additions and 29 deletions

View File

@ -1,13 +1,6 @@
#!/bin/sh
STATE=`nmcli networking connectivity`
if [ $STATE = 'full' ]
then
notmuch search --output=files tag:deleted | xargs -l rm
notmuch new
muchsync rhea.unbl.ink
exit 0
fi
echo "No internet connection"
notmuch search --output=files tag:deleted | xargs -0 rm
notmuch new
muchsync rhea.unbl.ink
exit 0