summaryrefslogtreecommitdiff
path: root/examples/wrap_xsh.sh
diff options
context:
space:
mode:
Diffstat (limited to 'examples/wrap_xsh.sh')
-rwxr-xr-xexamples/wrap_xsh.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/examples/wrap_xsh.sh b/examples/wrap_xsh.sh
new file mode 100755
index 00000000..af01697e
--- /dev/null
+++ b/examples/wrap_xsh.sh
@@ -0,0 +1,5 @@
+#!/bin/bash
+export LD_PRELOAD=../libpam/libpam.so:../libpam_misc/libpam_misc.so
+ldd ./xsh
+./xsh "$@"
+