CC-2603: Store log for full install into a file

- done
This commit is contained in:
James 2011-07-27 12:49:05 -04:00
parent cec9741571
commit 7ac59fb747

View file

@ -1,8 +1,11 @@
#!/bin/sh
#!/bin/bash
#
# Auto install script for airtime on Ubuntu
#
exec > >(tee install_log.txt)
exec 2>&1
if [ "$(id -u)" != "0" ]; then
echo "You need admin previlege to run this script"
echo "Syntaxe: sudo $0"