larch is list_arch, in more accessible and funnily nostalgic form.
i.e. number something or other, the larch. the larch.
define_yeti_alias halt='sudo shutdown -h now'
define_yeti_alias i=inventory
define_yeti_alias l='perl $FEISTY_MEOW_SCRIPTS/files/summing_dir.pl'
+define_yeti_alias larch='list_arch'
define_yeti_alias ll='ls_dot_add=-a perl $FEISTY_MEOW_SCRIPTS/files/summing_dir.pl'
define_yeti_alias ls='ls -HhFC $color_add'
define_yeti_alias lsd='ls -hl'
--- /dev/null
+#!/bin/bash
+
+# returns an error value if reboot IS required due to some recent
+# updates. otherwise returns a normal zero exit value indicating
+# that things are peachy.
+
+if [ -f /var/run/reboot-required ]; then
+ echo 'reboot required'
+ exit 1
+fi
+exit 0
+
+#hmmm: add other OS versions, e.g.
+# redhat/centos: $ needs-restarting -r ; echo $?
+# shows if needs to be rebooted and returns an error if does need reboot
+#