#!/bin/sh
exec >&2
printf "[rg-firewall-config] Checking for saved original firewall config: "
if [ ${IPKG_INSTROOT}/etc/config//firewall.replaced-by-rg ]; then
  printf "exist, moving restoring..."
  mv ${IPKG_INSTROOT}/etc/config//firewall.replaced-by-rg ${IPKG_INSTROOT}/etc/config/firewall
else
  printf "doest not exist, giving up..."
fi
echo "done"
exit 0
