diff options
author | Lauri Leukkunen <lleukkun@leka.rahina.org> | 2006-08-06 10:22:39 +0300 |
---|---|---|
committer | Lauri Leukkunen <lleukkun@leka.rahina.org> | 2006-08-06 10:22:39 +0300 |
commit | f111586afcec8f11f626bd0615c6ef44cdf3189a (patch) | |
tree | 1173008a6e391fbab5f2df2631b9b2a4d1f2eeef /scripts | |
parent | e3493fb9be31bbb535a8380ff7e35287372e6eda (diff) |
add sudo support and various cleanups
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/login.sh | 6 | ||||
-rwxr-xr-x | scripts/sb2rc | 7 |
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 + |