2013-07-28 11:48:24 +02:00
|
|
|
#!/bin/sh
|
|
|
|
|
2014-03-06 15:35:52 +01:00
|
|
|
## Invoke a terminal while setting this environment variable. This way the shell
|
|
|
|
## can behave accordingly. This is useful to launch a program from X, which can
|
|
|
|
## then exit to shell, without closing the terminal.
|
2013-07-28 11:48:24 +02:00
|
|
|
|
|
|
|
if [ -z "$TERMCMD" ]; then
|
2014-11-12 16:15:39 +01:00
|
|
|
echo 'TERMCMD not set. Exiting.'
|
|
|
|
exit
|
2013-07-28 11:48:24 +02:00
|
|
|
fi
|
|
|
|
|
|
|
|
export BROWSER_AUTOSTART=true
|
|
|
|
$TERMCMD
|