diff options
author | dakkar <dakkar@thenautilus.net> | 2015-09-27 12:49:30 +0100 |
---|---|---|
committer | dakkar <dakkar@thenautilus.net> | 2015-09-27 12:49:30 +0100 |
commit | 689e7c7ea4b793db7bb13ac3326256963e7ea3c0 (patch) | |
tree | ed73bf66ddbfc69e8cf54e53e93ed55dbdfe88ad /homepanel.initd | |
parent | fix config loading (diff) | |
download | HomePanel-689e7c7ea4b793db7bb13ac3326256963e7ea3c0.tar.gz HomePanel-689e7c7ea4b793db7bb13ac3326256963e7ea3c0.tar.bz2 HomePanel-689e7c7ea4b793db7bb13ac3326256963e7ea3c0.zip |
tweaks to run on the new machine
Diffstat (limited to 'homepanel.initd')
-rwxr-xr-x | homepanel.initd | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/homepanel.initd b/homepanel.initd index 9994db4..47f3568 100755 --- a/homepanel.initd +++ b/homepanel.initd @@ -1,11 +1,11 @@ -#!/bin/bash +#!/bin/sh -# Generated at Sat Oct 18 11:54:37 2014 with Daemon::Control 0.001006 +# Generated at Sun Sep 27 12:39:21 2015 with Daemon::Control 0.001008 ### BEGIN INIT INFO # Provides: HomePanel -# Required-Start: $local_fs $network $named $time -# Required-Stop: $local_fs $network $named $time +# Required-Start: +# Required-Stop: # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: Home info panel @@ -14,10 +14,13 @@ -export SHELL=/bin/bash -export PERLBREW_ROOT=/data/perl5 -export PERLBREW_HOME=/home/dakkar/.perlbrew -. /data/perl5/etc/bashrc +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 ]; |