Update mqtt_setup.sh
This commit is contained in:
parent
4dd471b0b0
commit
454910c749
1 changed files with 2 additions and 2 deletions
|
@ -32,7 +32,7 @@ apt-get autoremove >/dev/null
|
|||
|
||||
# Update container OS
|
||||
msg "Updating container OS..."
|
||||
apt-get update >/dev/null
|
||||
apt-get --allow-releaseinfo-change update >/dev/null
|
||||
apt-get -qqy upgrade &>/dev/null
|
||||
|
||||
# Install prerequisites
|
||||
|
@ -64,4 +64,4 @@ systemctl restart $(basename $(dirname $GETTY_OVERRIDE) | sed 's/\.d//')
|
|||
|
||||
# Cleanup container
|
||||
msg "Cleanup..."
|
||||
rm -rf /mqtt_setup.sh /var/{cache,log}/* /var/lib/apt/lists/*
|
||||
rm -rf /mqtt_setup.sh /var/{cache,log}/* /var/lib/apt/lists/*
|
||||
|
|
Loading…
Reference in a new issue