14 lines
336 B
Bash
Executable File
14 lines
336 B
Bash
Executable File
#!/bin/sh
|
|
|
|
## 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.
|
|
|
|
if [ -z "$TERMCMD" ]; then
|
|
echo 'TERMCMD not set. Exiting.'
|
|
exit
|
|
fi
|
|
|
|
export BROWSER_AUTOSTART=true
|
|
$TERMCMD
|