aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2013-11-27 16:29:08 +0100
committerMattias Andrée <maandree@operamail.com>2013-11-27 16:29:08 +0100
commit9dfdec066dba96c523123d4e7d42bda8029d725b (patch)
tree2a250f7bcce795d5bc45f917fd0aaf37f074c32d
parentm (diff)
downloadgates-of-tartaros-1385906830.tar.gz
gates-of-tartaros-1385906830.tar.bz2
gates-of-tartaros-1385906830.tar.xz
add cerberus to gotrc examples1385906830
Signed-off-by: Mattias Andrée <maandree@operamail.com>
-rw-r--r--Makefile2
-rw-r--r--gotrc-examples/cerberus11
2 files changed, 12 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index f7a9f3c..07a4187 100644
--- a/Makefile
+++ b/Makefile
@@ -13,7 +13,7 @@ SH = bash
SH_SHEBANG = /usr/bin/env $(SH)
ECHO = /usr/bin/echo
-EXAMPLES = README lower-left-ponysay allow-uppercase issue-file commands no-empty-user baudrate
+EXAMPLES = README lower-left-ponysay allow-uppercase issue-file commands no-empty-user baudrate cerberus
diff --git a/gotrc-examples/cerberus b/gotrc-examples/cerberus
new file mode 100644
index 0000000..b099624
--- /dev/null
+++ b/gotrc-examples/cerberus
@@ -0,0 +1,11 @@
+# -*- shell-script -*-
+
+# This module configures gates-of-tartaros to use
+# cerberus instead of login
+
+
+_use_login ()
+{
+ exec cerberus -- "${user}"
+}
+