1
vote
5answers
481 views

How to launch a bash script in another one?

I'm trying to launch a script bash from another one using sudo. Here is my first script test.sh #!/bin/bash echo "test.sh" $1 $2 $3 >>/home/pi/test.log sudo ./temp.sh "$1" "$2" "$3" ...
0
votes
1answer
305 views

Start script on network connect

I am trying to get a GNU/Linux Bash script to run as soon as a network connection is established on my Raspberry Pi. I tried following the instructions on several pages: I have tried adding my script ...
0
votes
0answers
60 views

Shell doesn't appear when connecting to RasPi via SSH

I have a raspberry pi with Arch Linux ARM installed. I would like to run commands via my laptop. I configured SSH correctly and I can log in, but I can't do anything. There is no shell. ssh user@host ...
0
votes
1answer
1k views

Launching a Shell Script via .desktop in Raspbian Wheezy

I am trying to launch OMXplayer and play a sequence of videos on loop on a RaspberryPi running Raspbian Wheezy. I have got a working shell script which launches and plays the videos courtesy of ...
3
votes
1answer
332 views

Raspberry Pi: open browser using bash and crontab

I'm trying to setup a simple bash script. I want to open the browser. chromium-browser <url> works if I do it in the cli or in the bash script if I run the script by ./scrpt. But if I put ...
2
votes
3answers
568 views

Run a script after killing lxsession (xorg)

I am trying to run a program automatically within a bash script after killing the LXDE session. My script consists of: #!/bin/sh pkill lxsession; sh ...