mirror of
https://github.com/PentHertz/OpenBTS.git
synced 2026-05-11 21:28:01 +00:00
git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@6508 19bc5d8c-e614-43d4-8b26-e1612bc8e597
12 lines
361 B
Bash
Executable file
12 lines
361 B
Bash
Executable file
#!/bin/sh
|
|
|
|
# A script to restart and just keep OpenBTS running.
|
|
while true;
|
|
do
|
|
# (pat) Do not remove this 'killall OpenBTS'. If removed, the second and later iterations of this loop may
|
|
# be unable to start GPRS service. The OpenBTS.log will include: ggsn: ERROR: Could not open tun device sgsntun
|
|
killall OpenBTS
|
|
killall wget;
|
|
sleep 1;
|
|
./OpenBTS;
|
|
done
|