{"id":1916,"date":"2020-02-28T19:25:39","date_gmt":"2020-02-28T19:25:39","guid":{"rendered":"http:\/\/192.168.10.58\/kb\/?p=1916"},"modified":"2020-02-28T19:25:39","modified_gmt":"2020-02-28T19:25:39","slug":"new-update-script-for-raspberry-pi","status":"publish","type":"post","link":"https:\/\/andy.teknostatik.co.uk\/kb\/2020\/02\/28\/new-update-script-for-raspberry-pi\/","title":{"rendered":"New update script for Raspberry Pi"},"content":{"rendered":"\n<p>Today I dealt with the issue that all my Rasberry Pis were running a version of the OS that was quite old. This also lead to me setting up a new <a href=\"https:\/\/pi-hole.net\/\">pihole<\/a> computer, which now updates with the following script:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>#!\/bin\/bash\necho \"updateall v.1.4 for Raspian\"\n#Run this as a normal user. Your admin password will be asked for if required.\nsudo apt update\nsudo apt upgrade -y\nsudo apt full-upgrade -y\npihole -up\necho \"The script has now finished running.\"<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Today I dealt with the issue that all my Rasberry Pis were running a version of the OS that was quite old. This also lead to me setting up a new pihole computer, which now updates with the following script:<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"activitypub_content_warning":"","activitypub_content_visibility":"","activitypub_max_image_attachments":4,"activitypub_interaction_policy_quote":"anyone","activitypub_status":"","footnotes":"","_share_on_mastodon":"0"},"categories":[7],"tags":[],"class_list":["post-1916","post","type-post","status-publish","format-standard","hentry","category-raspberry-pi"],"share_on_mastodon":{"url":"","error":""},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/andy.teknostatik.co.uk\/kb\/wp-json\/wp\/v2\/posts\/1916","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/andy.teknostatik.co.uk\/kb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/andy.teknostatik.co.uk\/kb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/andy.teknostatik.co.uk\/kb\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/andy.teknostatik.co.uk\/kb\/wp-json\/wp\/v2\/comments?post=1916"}],"version-history":[{"count":0,"href":"https:\/\/andy.teknostatik.co.uk\/kb\/wp-json\/wp\/v2\/posts\/1916\/revisions"}],"wp:attachment":[{"href":"https:\/\/andy.teknostatik.co.uk\/kb\/wp-json\/wp\/v2\/media?parent=1916"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/andy.teknostatik.co.uk\/kb\/wp-json\/wp\/v2\/categories?post=1916"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/andy.teknostatik.co.uk\/kb\/wp-json\/wp\/v2\/tags?post=1916"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}