#!/bin/sh set -e set -e case $1 in configure) if [ -x "/etc/init.d/salt-server" ]; then echo " * Updated RC with Salt Server" update-rc.d salt-server start 20 1 2 3 4 5 . stop 0 1 6 . invoke-rc.d salt-server start || echo " * Salt server not running (Are you on Bootstrap?)" fi ;; *) echo "Nothing to do" ;; esac #DEBHELPER#