#!/bin/sh ping -q -c 1 1.1.1.1 > /dev/null || exit 1 echo " " > /tmp/packagesupdate refbar & pacman -Syyuw --noconfirm rm -f /tmp/packagesupdate refbar &