mostly mail and monitoring fixes
[distro-setup] / brc2
diff --git a/brc2 b/brc2
index bff0eb755462d8ee91cd3f31cda1ac340e84db73..144f0c62d1289b75ddbd96246e72a36019bcbc9f 100644 (file)
--- a/brc2
+++ b/brc2
@@ -119,9 +119,10 @@ bpush() {
 }
 lipush() {
   rsync $@ --delete-excluded -ahviSAXPH --specials --devices --delete --relative \
-        --exclude-from=/p/c/li-rsync-excludes /a/bin /a/exe /a/h /a/c /p/c/machine_specific/li /a/opt/{emacs,emacs-debianstable,mu} root@li:/
+        --exclude-from=/p/c/li-rsync-excludes /a/bin /a/exe /a/h /a/c /p/c/machine_specific/li /a/opt/{emacs,emacs-debianstable,mu} root@iankelling.org:/
+  rsync -ahviSAXPH root@iankelling.org:/a/h/proposed-comments/ /a/h/proposed-comments
 }
-lipushnoe() {
+lipushnoe() { # noe = noemacs. for running faster.
   rsync $@ --delete-excluded -ahviSAXPH --specials --devices --delete --relative \
         --exclude-from=/p/c/li-rsync-excludes /a/bin /a/exe /a/h /a/c /p/c/machine_specific/li  root@li:/
 }
@@ -233,11 +234,11 @@ dup() {
   ran_d=false
   case $PS1 in
     *DISTRO-BEGIN*)
-      /b/ds/distro-begin
+      /b/ds/distro-begin || return $?
       ran_d=true
       ;;&
     *DISTRO-END*)
-      /b/ds/distro-end
+      /b/ds/distro-end || return $?
       ran_d=true
       ;;&
     *CONFLINK*)
@@ -246,6 +247,7 @@ dup() {
       fi
       ;;
   esac
+  system-status _
 }
 
 envload() { # load environment from a previous: export > file