#!/bin/bash

if [ "$1" = "purge" ]; then
  update-rc.d vyatta-router remove >/dev/null || exit $?
fi