diff options
Diffstat (limited to 'cholerab')
| -rw-r--r-- | cholerab/AGENDA.cccamp11 | 12 | ||||
| -rwxr-xr-x | cholerab/knut/clients/cnot/index | 10 | 
2 files changed, 13 insertions, 9 deletions
diff --git a/cholerab/AGENDA.cccamp11 b/cholerab/AGENDA.cccamp11 index 1841471e..6e6f7b84 100644 --- a/cholerab/AGENDA.cccamp11 +++ b/cholerab/AGENDA.cccamp11 @@ -3,12 +3,9 @@    - krebs.no.de/hosts.tar automatic via github POST hook      - same for supernode updates [vs. cron]      - krebscode/painload/supernode/foo  -  DONE - hosts in krebs/retiolum -    DONE - update hosts from painload via `make -C retiolum`    - overall -    DONE - PATH-able bin/  -    - bin at the end of PATH +    - krebs/bin at the end of PATH    - natural voices      - unify with translate.google @@ -30,13 +27,13 @@      DONE - curl painload.retiolum | sh        [- git clone https://github.com/kreingbscode/painload /krebs]        [- /krebs/boot] (makefu) +  - krebs rebootstrapping      - server, der ein shellscript [wenn User-Agent: curl/wget ist] ausgibt] (tv)      - painload/{component}/krebs.manifest        - welche kategorie: gutartig, boesartig,auf toeten eingestellt, optional        DONE - interactive-foo, der am Anfang durchgespielt werden muss          - danach darf er nciht mehr sucken, und muss das richtige tun        - initiale config file via $EDITOR -        DONE - config am anfang des skriptes oeffnen          - config auswerten    - gutartiger Krebs @@ -55,8 +52,6 @@        - ftp MOTD        - sound theme [see beeps below]      - append to PATH -    DONE - morse (makefu) -      DONE - beep installieren und shit [spaeter kuebelwagen, wenn beep defekt]    [- boesartiger Krebs]      - public keys installieren @@ -94,3 +89,6 @@    - beeps      - on ssh activity + +  - POSIX-sh krebs harder +    - http://pubs.opengroup.org/onlinepubs/009695399/utilities/xcu_chap02.html diff --git a/cholerab/knut/clients/cnot/index b/cholerab/knut/clients/cnot/index index d17329f4..f276dd25 100755 --- a/cholerab/knut/clients/cnot/index +++ b/cholerab/knut/clients/cnot/index @@ -2,7 +2,7 @@  #  # cnot - cholerab live command line notification client, bitch!  # -# usage: cnot hostname message... +# usage: [verbose=yes] cnot hostname [message...]  #  set -euf @@ -11,6 +11,12 @@ port=42101  params="$*" -exec curl -vsS -X PUT --data-binary @- "http://$host:$port" <<EOF +flags=-sS + +if test "${verbose-no}" != no; then +  flags="${flags+$flags }-v" +fi + +exec curl $flags -X PUT --data-binary @- "http://$host:$port" <<EOF  {"method":"clive","params":"$params","id":null}  EOF  | 
