echo l3cd=${lilalo_context}/$user > ${user_home}/${lilalo_rc}
chown -R $user ${user_home}/${lilalo_rc}
done
set +x
}
Installation is successfully completed.
Now restart your shell or relogin
to start script writing.
Your current lilalo context is ${lilalo_context}/USER
If you use xgu.ru backend, your labs will be available at
http://xgu.ru/l3/${lilalo_context}
Use commands
$ l3cd ${lilalo_context%/*/*}/MY-NEW-CONTEXT/${hostname}/USER
$ l3pwd
#!/bin/sh
set -x
hostname=`hostname`
uname -a | egrep -qi '(freebsd|darwin)' || hostname=`hostname -f`
{
msg="$1"
shift
printf "${whiteC}""$msg""...${normC}\n"
# eval cat log | sed 's/^/|\ \ \ /'/' && printf "Ok\n" || printf "Failed\n"
printf "${greenC}""Ok\n""${normC}"
eval "$@" 2>&1 > log 2>&1 && \
} || \
{ cat log | sed 's/^/|\ \ \ /'
{ printf "${redC}""Failed\n""${normC}"
}
}
t $9}' || getent passwd "$@"| awk -F: '{print $6}'
get_user_home()
{
uname -a | egrep -qi '(freebsd|darwin)' && pw user show "$@"| awk -F: '{prin