summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2018-07-11 08:52:00 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2018-07-11 08:52:00 +0200
commit4fcb8a81f6cad88a9f1d66cff49055e06037167c (patch)
treeb23d0c151c9acd564ea576b939c412dc8397ca64
parent58236a46a84fbe66c740c72ac749623f9a8c8d59 (diff)
downloadbin-4fcb8a81f6cad88a9f1d66cff49055e06037167c.zip
bin-4fcb8a81f6cad88a9f1d66cff49055e06037167c.tar.gz
update : add dmesg and uname output
-rwxr-xr-xupdate8
1 files changed, 8 insertions, 0 deletions
diff --git a/update b/update
index 7496680..a48393c 100755
--- a/update
+++ b/update
@@ -50,6 +50,13 @@ function check_etc() {
sudo_run "git status"
}
+function info() {
+ echo
+ uname -a
+ dmesg --level=err,warn -T
+ echo
+}
+
function synk() {
[ -f ~/.unison/asynk.prf ] && echo -e "$RED ** unison asynk $RESET" && unison asynk.prf
}
@@ -68,5 +75,6 @@ git_pull ~/usr/git/share
update_pkgs
update_gem
check_etc
+info
sudo -K