done
# Stop services
+/etc/init.d/squid stop
/etc/init.d/ipsec stop
# Extract files
sudo -u nobody /srv/web/ipfire/cgi-bin/vpnmain.cgi
rm -f /bin/[
-sync
# Start services
if [ `grep "ENABLED=on" /var/ipfire/vpn/settings` ]; then
/etc/init.d/ipsec start
fi
+/etc/init.d/squid start
# This update need a reboot...
touch /var/run/need_reboot
if [ -e /boot/grub/grub.cfg ]; then
grub-mkconfig > /boot/grub/grub.cfg
fi
+sync
# Don't report the exitcode last command
exit 0