#!/bin/sh # # $Id$ # # Copyleft (C) ITEG IT-Engineers GmbH 2014 #echo "$0 called with parameters $*" case "$1" in configure) update-rc.d gpsfake-runner defaults test -f /etc/default/gpsfake-runner && . /etc/default/gpsfake-runner if [ "$GPSFAKERUNNER_STARTDAEMON" = "yes" ] ; then echo "Starting GPSFake-Runner after installation or upgrade ..." /etc/init.d/gpsfake-runner start else echo "GPSFAKERUNNER_STARTDAEMON is not set to \"yes\" in /etc/default/gpsfake-runner," echo "therefore not starting it automatically after installation or upgrade ..." fi exit 0 ;; esac