summaryrefslogtreecommitdiff
path: root/homepanel.initd
blob: 47f35688f2ae05c85bf5cfea22e9d66cfef77e45 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#!/bin/sh 
 
# Generated at Sun Sep 27 12:39:21 2015 with Daemon::Control 0.001008 
 
### BEGIN INIT INFO 
# Provides:          HomePanel 
# Required-Start:     
# Required-Stop:      
# 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` 
 
 
 
if [ ! -d /tmp/panel/icons ]; then
  mkdir -p /tmp/panel
  mount -t tmpfs none /tmp/panel
  cp -a /home/dakkar/src/HomePanel/icons /tmp/panel/
fi
 
PERL5LIB="/home/dakkar/perl5/libs/HomePanel/lib/perl5${PERL5LIB+:}${PERL5LIB}"; export PERL5LIB;
 
 
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