[PATCH 1/2] Add a script to attach to anaconda's tmux

Jesse Keating jkeating at redhat.com
Tue Oct 9 03:25:10 UTC 2012


This is useful as the install user's shell, rather than having anaconda
direct as that shell.
---
 scripts/Makefile.am  | 2 +-
 scripts/run-anaconda | 6 ++++++
 2 files changed, 7 insertions(+), 1 deletion(-)
 create mode 100755 scripts/run-anaconda

diff --git a/scripts/Makefile.am b/scripts/Makefile.am
index 01c0492..3813ee6 100644
--- a/scripts/Makefile.am
+++ b/scripts/Makefile.am
@@ -18,7 +18,7 @@
 # Author: David Cantrell <dcantrell at redhat.com>
 
 scriptsdir = $(libexecdir)/$(PACKAGE_NAME)
-dist_scripts_SCRIPTS = upd-updates
+dist_scripts_SCRIPTS = upd-updates run-anaconda
 dist_scripts_DATA    = pyrc.py
 dist_noinst_SCRIPTS  = upd-kernel makeupdates
 
diff --git a/scripts/run-anaconda b/scripts/run-anaconda
new file mode 100755
index 0000000..d31f70c
--- /dev/null
+++ b/scripts/run-anaconda
@@ -0,0 +1,6 @@
+#!/usr/bin/bash
+#
+# Quick script to attach to tmux where anaconda is running
+#
+
+/usr/bin/tmux -u attach -t anaconda
-- 
1.7.11.4



More information about the anaconda-patches mailing list