aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2013-11-02 09:59:51 +0100
committerMattias Andrée <maandree@operamail.com>2013-11-02 09:59:51 +0100
commit052607a51e389c1626d5df5d92dd526d4c21e33b (patch)
treea31246858de598c1c05ae6e9378a441faff82bdc /src
parentadd dependency list (diff)
downloadgot-diminished-052607a51e389c1626d5df5d92dd526d4c21e33b.tar.gz
got-diminished-052607a51e389c1626d5df5d92dd526d4c21e33b.tar.bz2
got-diminished-052607a51e389c1626d5df5d92dd526d4c21e33b.tar.xz
add module
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src')
-rw-r--r--src/got-diminished19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/got-diminished b/src/got-diminished
new file mode 100644
index 0000000..40ec29e
--- /dev/null
+++ b/src/got-diminished
@@ -0,0 +1,19 @@
+# -*- shell-script -*-
+
+# This module minimising memory usage, when when you are entering
+# your passphrase in and is logged in, of gates-of-tartaros, by
+# replacing the gates-of-tartaros process with a smaller C program
+# that does not have anything for before you have entered your
+# username.
+
+
+_use_ssh ()
+{
+ exec /usr/sbin/got-diminished-ssh "${user}"
+}
+
+_use_login ()
+{
+ exec /usr/sbin/got-diminished-login "${user}" "${tty_settings}"
+}
+