Edited README, added initial client tools

This commit is contained in:
2012-08-05 19:19:59 -04:00
parent ea6ad91249
commit 1eafe5a220
6 changed files with 213 additions and 1 deletions

15
client/bin/disco-sh-shell Executable file
View File

@@ -0,0 +1,15 @@
#!/bin/bash
DISCOROOT=/var/disco/testfs
mount | grep $DISCOROOT >/dev/null 2>&1
if [ $? -ne 0 ]; then
./disco-fs-mount
fi
if [ "$NOOP" != "" ]; then
chroot ${DISCOROOT}/chroot /bin/rbash
else
chroot ${DISCOROOT}/chroot /bin/bash
fi
./disco-fs-unmount
exit $?