CC-2603: Store log for full install into a file
- done
This commit is contained in:
parent
cec9741571
commit
7ac59fb747
1 changed files with 4 additions and 1 deletions
|
@ -1,8 +1,11 @@
|
||||||
#!/bin/sh
|
#!/bin/bash
|
||||||
#
|
#
|
||||||
# Auto install script for airtime on Ubuntu
|
# Auto install script for airtime on Ubuntu
|
||||||
#
|
#
|
||||||
|
|
||||||
|
exec > >(tee install_log.txt)
|
||||||
|
exec 2>&1
|
||||||
|
|
||||||
if [ "$(id -u)" != "0" ]; then
|
if [ "$(id -u)" != "0" ]; then
|
||||||
echo "You need admin previlege to run this script"
|
echo "You need admin previlege to run this script"
|
||||||
echo "Syntaxe: sudo $0"
|
echo "Syntaxe: sudo $0"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue