diff options
author | Magnus Feuer <mfeuer@jaguarllandrover.com> | 2016-01-30 19:42:45 -0800 |
---|---|---|
committer | Magnus Feuer <mfeuer@jaguarllandrover.com> | 2016-01-30 19:42:45 -0800 |
commit | 2533b49f48e1d359a08378bf73a7e025235a01ad (patch) | |
tree | 9ee6bb7746c70593cbf3057670f54a73bb530fa7 /scripts | |
parent | edb3d54bf744554a7f68b16d84ab742d255121ee (diff) | |
download | rvi_core-2533b49f48e1d359a08378bf73a7e025235a01ad.tar.gz |
Not really working. But getting close
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/rvi.init.ubuntu | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/scripts/rvi.init.ubuntu b/scripts/rvi.init.ubuntu index a4b62e8..9cd4e59 100755 --- a/scripts/rvi.init.ubuntu +++ b/scripts/rvi.init.ubuntu @@ -12,8 +12,8 @@ # ### BEGIN INIT INFO # Provides: rvi -# Required-Start: $networking $syslog -# Required-Stop: $networking $syslog +# Required-Start: $network $syslog $remote_fs +# Required-Stop: $network $syslog $remote_fs # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: Start/Stop RVI node at boot time @@ -21,8 +21,7 @@ ### END INIT INFO export PATH="/bin/:/usr/bin:/sbin:/usr/sbin" -export HOME=/tmp/rvi -install -d -D --mode=0755 ${HOME} +export HOME=/usr/lib/rvi_core . /lib/lsb/init-functions set -e |