diff options
author | Dave Pigott <dave.pigott@linaro.org> | 2014-02-12 16:14:02 +0000 |
---|---|---|
committer | Dave Pigott <dave.pigott@linaro.org> | 2014-02-12 16:17:54 +0000 |
commit | a059eba742393bc6ee0f7af612400f43561ebddd (patch) | |
tree | 9295817e4b48b8f8eb77f1803128b2cfbbfaac51 | |
parent | c12284b973b02f8e10e50fb5f2c5be4a61757507 (diff) |
Fix for oe environments that don't support bash
Change-Id: Id02a853d96dafb4874301fc60399616dd824be14
-rwxr-xr-x | invoke_session_oe | 4 | ||||
-rwxr-xr-x | setup_session_oe | 2 | ||||
-rwxr-xr-x | stop_hacking_oe | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/invoke_session_oe b/invoke_session_oe index 08892b3..172ef0b 100755 --- a/invoke_session_oe +++ b/invoke_session_oe @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh # Usage ./invoke_session <gateway> # Hack for now until lava-test-shell is smart enough to know it's dispatcher ip @@ -12,7 +12,7 @@ ip_addr=$(ifconfig `ip route get $gateway | cut -d ' ' -f3` | grep 'inet addr' | hostname=$(cat /etc/hostname) # Set the PATH to use the LAVA api -echo "export PATH=/lava/bin/:$PATH" > ~/.bashrc +echo "export PATH=/lava/bin/:$PATH" > ~/.shrc echo "" echo "" diff --git a/setup_session_oe b/setup_session_oe index 998c70c..5401017 100755 --- a/setup_session_oe +++ b/setup_session_oe @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh # Usage ./setup_session <pub_key> chmod a+x stop_hacking_oe diff --git a/stop_hacking_oe b/stop_hacking_oe index b1a42b8..8eb250f 100755 --- a/stop_hacking_oe +++ b/stop_hacking_oe @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh rm /run/hacking/hacking.pid rm ~/.ssh/authorized_keys /etc/init.d/sshd stop |