aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gotrc-examples/commands4
1 files changed, 4 insertions, 0 deletions
diff --git a/gotrc-examples/commands b/gotrc-examples/commands
index 9bcf669..667bf76 100644
--- a/gotrc-examples/commands
+++ b/gotrc-examples/commands
@@ -26,6 +26,10 @@ _login_commands ()
export LANG="en_GB.UTF-8"
fi
adjbacklight
+ elif [ "${user}" = "+1" ]; then
+ echo "Enter parameters: (e.g. tty7 TERM=linux)"
+ read -r params
+ setsid -- "$0" $params &
else
cat <<EOF
Command is not recognised.