dot

packages and services management
Log | Files | Refs | README

commit 80ee91ca93ae9688564820d7e8f299a3b0a49b29
parent 598dcfde72ed591c9640e3d1de2a837e528cb692
Author: Josuah Demangeon <mail@josuah.net>
Date:   Wed, 20 Jun 2018 19:00:08 +0200

remove irc user (use regular user)

Diffstat:
Mdot/mblaze | 2+-
Mpack/msmtp/build | 1+
Duser/irc/add | 10----------
Duser/irc/shell | 14--------------
4 files changed, 2 insertions(+), 25 deletions(-)

diff --git a/dot/mblaze b/dot/mblaze @@ -1,3 +1,3 @@ Sendmail: msmtp Local-Mailbox: mail@josuah.net -Outbox: /home/mail/INBOX +Outbox: /home/josuah/mail/INBOX diff --git a/pack/msmtp/build b/pack/msmtp/build @@ -1,4 +1,5 @@ #!/bin/sh -ex + export libssl_CFLAGS="-I'$PACK/include'" export libssl_LIBS="-L'$PACK/lib' -lssl -lcrypto" diff --git a/user/irc/add b/user/irc/add @@ -1,10 +0,0 @@ -#!/bin/sh -e -# irc logs and ii working directory - -mkdir -p /home/irc/ -useradd -d /home/irc/ -s /home/irc/shell irc - -cp ./shell /home/irc/shell -chmod +x /home/irc/shell - -chown -R irc /home/irc/ diff --git a/user/irc/shell b/user/irc/shell @@ -1,14 +0,0 @@ -#!/bin/sh -e -trap 'true' INT - -while true -do c=$(exec ls -d ./out */out */*/out | exec sed 's,/out,,' | exec iomenu) - test "$c" && case "$(exec printf '%s\n' view chat | exec iomenu)" in - (view) - eel <$c/out | less - ;; - (chat) - exec tail -f -n 80 "$c/out" | exec eel | shuntty "$c> " >$c/in - ;; - esac -done