forked from switnet/quick-jibri-installer
Add log file
This commit is contained in:
parent
cbc45d9cb7
commit
6bd40f8ecc
|
@ -2,6 +2,8 @@
|
||||||
# Quick Jibri Installer - *buntu 16.04 (LTS) based systems.
|
# Quick Jibri Installer - *buntu 16.04 (LTS) based systems.
|
||||||
# SwITNet Ltd © - 2019, https://switnet.net/
|
# SwITNet Ltd © - 2019, https://switnet.net/
|
||||||
# GPLv3 or later.
|
# GPLv3 or later.
|
||||||
|
{
|
||||||
|
echo "Started at $(date +'%Y-%m-%d %H:%M:%S')" >> qj-installer.log
|
||||||
|
|
||||||
while getopts m: option
|
while getopts m: option
|
||||||
do
|
do
|
||||||
|
@ -602,4 +604,5 @@ while [ $secs -gt 0 ]; do
|
||||||
sleep 1
|
sleep 1
|
||||||
: $((secs--))
|
: $((secs--))
|
||||||
done
|
done
|
||||||
|
} > >(tee -a qj-installer.log) 2> >(tee -a qj-installer.log >&2)
|
||||||
reboot
|
reboot
|
||||||
|
|
Loading…
Reference in New Issue