#!/bin/sh
# devel.a0fs.ru --  -- v1.r202309.1 #
export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

SYSLOG_ID="sys-updater"

log () {
    logger -t "$SYSLOG_ID" "$@"
}

{
    log "UPDATE START"
    apt update
    log "UPDATE END"
    
} 2>&1 | log
