.gitea/workflows/update.yml aktualisiert
This commit is contained in:
@@ -30,7 +30,8 @@ jobs:
|
||||
run: |
|
||||
sudo apt -y autoremove
|
||||
sudo apt -y autoclean
|
||||
|
||||
# reboot
|
||||
- name: Cleanup
|
||||
- name: Reboot
|
||||
run: |
|
||||
[ "$($cmd | grep NEEDRESTART-KCUR | awk '{print $2}')" != "$($cmd | grep NEEDRESTART-KEXP | awk '{print $2'})" ] && echo "Kernel unterschiedlich!" && reboot | at now + 3 minutes
|
||||
|
||||
Reference in New Issue
Block a user