iankelling.org
/
git
/
distro-setup
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
dns fixes
[distro-setup]
/
system-status
diff --git
a/system-status
b/system-status
index 0ab88b4d533a4ee4f2d01e2a0751f6a63f658458..e137d06f3b4b15c44b884e6dc04e8eb17d0a3759 100755
(executable)
--- a/
system-status
+++ b/
system-status
@@
-41,6
+41,7
@@
write-status() {
chars+=("q $qlen")
fi
chars+=("q $qlen")
fi
+ cd /b/ds
if ! make -q ~/.local/distro-begin || [[ $(<~/.local/distro-begin) != 0 ]]; then
chars+=("DISTRO-BEGIN!")
fi
if ! make -q ~/.local/distro-begin || [[ $(<~/.local/distro-begin) != 0 ]]; then
chars+=("DISTRO-BEGIN!")
fi
@@
-51,7
+52,6
@@
write-status() {
f=~/.local/conflink
if [[ -e $f ]]; then
f=~/.local/conflink
if [[ -e $f ]]; then
- cd /b/ds
now=$(date +%s)
fsec=$(stat -c%Y $f)
fmin=$(( (fsec - now ) / 60 + 1 ))
now=$(date +%s)
fsec=$(stat -c%Y $f)
fmin=$(( (fsec - now ) / 60 + 1 ))