We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b212de2 commit f0f7e1bCopy full SHA for f0f7e1b
UBUNTU_updatecore
@@ -1,3 +1,14 @@
1
#!/bin/bash
2
+echo ""
3
+echo "#############################################"
4
+echo "# Install latest kernel and backup old ones #"
5
6
7
apt-get install linux-generic -qy;apt-get install linux-headers-generic -qy;apt-get install linux-headers-generic-pae -qy;apt-get install linux-image-generic -qy
8
ls -rt /boot/vmlinuz-* | head -n -2 | sed 's@vmlinuz-@linux-image-@g' | sed 's@/boot/@@' | xargs -I {} apt-get remove -y {}
9
10
+echo "############################"
11
+echo "# Install security updates #"
12
13
14
+unattended-upgrades -d
0 commit comments