From 7a454dfa8d89e2b7958989d1c06647a0776624d1 Mon Sep 17 00:00:00 2001 From: thierry Date: Thu, 14 Jun 2007 11:51:24 +0000 Subject: [PATCH] provides .profile for both root context and chroot jail --- tunings-myplc/dot-profile | 10 +--------- tunings-myplc/dot-profile-chroot | 9 +++++++++ 2 files changed, 10 insertions(+), 9 deletions(-) create mode 100644 tunings-myplc/dot-profile-chroot diff --git a/tunings-myplc/dot-profile b/tunings-myplc/dot-profile index f2e1a45..80cabb5 100644 --- a/tunings-myplc/dot-profile +++ b/tunings-myplc/dot-profile @@ -1,9 +1 @@ -export PS1=" $PS1" -alias d=dirs -alias g=pushd -alias b=popd -alias j=jobs -alias h=history - -alias sql='psql --user=pgsqluser planetlab4' -alias api='cd /usr/share/plc_api' +alias plc='chroot /plc/root su -' diff --git a/tunings-myplc/dot-profile-chroot b/tunings-myplc/dot-profile-chroot new file mode 100644 index 0000000..f2e1a45 --- /dev/null +++ b/tunings-myplc/dot-profile-chroot @@ -0,0 +1,9 @@ +export PS1=" $PS1" +alias d=dirs +alias g=pushd +alias b=popd +alias j=jobs +alias h=history + +alias sql='psql --user=pgsqluser planetlab4' +alias api='cd /usr/share/plc_api' -- 2.43.0