From 75c6d9cfed310346457ffedb13c47b4013b90a35 Mon Sep 17 00:00:00 2001 From: Gianni Ceccarelli Date: Sat, 18 Oct 2014 11:38:48 +0000 Subject: init script fixed --- homepanel.initd | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 homepanel.initd (limited to 'homepanel.initd') diff --git a/homepanel.initd b/homepanel.initd new file mode 100644 index 0000000..32ded00 --- /dev/null +++ b/homepanel.initd @@ -0,0 +1,27 @@ +#!/bin/sh + +# Generated at Sat Oct 18 11:38:22 2014 with Daemon::Control 0.001006 + +### BEGIN INIT INFO +# Provides: HomePanel +# Required-Start: $local_fs $network $named $time +# Required-Stop: $local_fs $network $named $time +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +# Short-Description: Home info panel +# Description: Show forecast, tube, bus status. +### END INIT INFO` + + + +export PERLBREW_ROOT=/data/perl5 +. /data/perl5/etc/bashrc + + +if [ -x /home/dakkar/src/HomePanel/homepanel-control ]; +then + /home/dakkar/src/HomePanel/homepanel-control $1 +else + echo "Required program /home/dakkar/src/HomePanel/homepanel-control not found!" + exit 1; +fi -- cgit v1.2.3