summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorLauri Leukkunen <lleukkun@leka.rahina.org>2006-08-06 10:22:39 +0300
committerLauri Leukkunen <lleukkun@leka.rahina.org>2006-08-06 10:22:39 +0300
commitf111586afcec8f11f626bd0615c6ef44cdf3189a (patch)
tree1173008a6e391fbab5f2df2631b9b2a4d1f2eeef /scripts
parente3493fb9be31bbb535a8380ff7e35287372e6eda (diff)
add sudo support and various cleanups
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/login.sh6
-rwxr-xr-xscripts/sb2rc7
2 files changed, 13 insertions, 0 deletions
diff --git a/scripts/login.sh b/scripts/login.sh
new file mode 100755
index 0000000..c7fec28
--- /dev/null
+++ b/scripts/login.sh
@@ -0,0 +1,6 @@
+#!/bin/bash
+
+echo "Starting Scratchbox 2..."
+echo "Using sudo, type your password:"
+sudo ./scratchbox/bin/chroot-uid $(pwd) /scratchbox/bin/sb2init
+
diff --git a/scripts/sb2rc b/scripts/sb2rc
new file mode 100755
index 0000000..cae57c8
--- /dev/null
+++ b/scripts/sb2rc
@@ -0,0 +1,7 @@
+#!/bin/bash
+
+
+echo "starting scratchbox2 shell..."
+
+bash
+