Есть такой код
Main ()
{
        if [ -x /scripts/local-top/cryptroot ]
        then
                /scripts/local-top/cryptroot
        fi
        exec 6>&1
        exec 7>&2
        exec > boot.log
        exec 2>&1
        tail -f boot.log >&7 &
        tailpid="${!}"
        . /live.vars
#.....
}
Поясните, что делают эти exec'и, зачем они нужны?



