#!/bin/sh
set -ev

# Remove service
rm -f /etc/init.d/frontlinesms
rc-update -u

# Unregister application
vmmgr unregister-app frontlinesms