9 lines
127 B
Bash
9 lines
127 B
Bash
#!/bin/sh
|
|
|
|
upgrade() {
|
|
echo "Starting upgrade on $(date)"
|
|
apk upgrade --update
|
|
}
|
|
|
|
upgrade >> /var/log/unattended-upgrade.log
|