summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorJesse Keating <jkeating@redhat.com>2012-10-08 20:06:09 -0700
committerJesse Keating <jkeating@redhat.com>2012-10-10 16:11:03 -0700
commit3ae62383f9d7d9386f0aca5df1e4b16e9ed39df4 (patch)
tree905a98c1a8c3866c7e0e32a25b80898d3d7396ed /scripts
parent2b956a4f16caa364ad7b415c11bd3e2b81b97e7c (diff)
downloadanaconda-3ae62383f9d7d9386f0aca5df1e4b16e9ed39df4.tar.gz
anaconda-3ae62383f9d7d9386f0aca5df1e4b16e9ed39df4.tar.xz
anaconda-3ae62383f9d7d9386f0aca5df1e4b16e9ed39df4.zip
Add a script to attach to anaconda's tmux
This is useful as the install user's shell, rather than having anaconda direct as that shell.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/Makefile.am2
-rwxr-xr-xscripts/run-anaconda6
2 files changed, 7 insertions, 1 deletions
diff --git a/scripts/Makefile.am b/scripts/Makefile.am
index 01c049217..3813ee6a8 100644
--- a/scripts/Makefile.am
+++ b/scripts/Makefile.am
@@ -18,7 +18,7 @@
# Author: David Cantrell <dcantrell@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 000000000..d31f70c4d
--- /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