dot

packages and services management
Log | Files | Refs | README

commit bf4a73776b4d4b8c0fed15411fb3afd3bbc773ee
parent ad8d91d00a22e47ae0707d4edaedc5f835f8ab42
Author: Josuah Demangeon <mail@josuah.net>
Date:   Mon, 27 Nov 2017 03:18:37 +0100

Use dotfiles as root

Also clone the dotfiles as root, I will have to start to setup users in
a hopefully portable way and I will be able to copy skel to /etc

Diffstat:
Mbin/etc | 2+-
Mskel/ngircd/conf | 8++++----
2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/bin/etc b/bin/etc @@ -33,7 +33,7 @@ case $1 in (setup) [ -f "$ETC/cron/$2" ] && cat "$ETC/cron/$2" >> "$HOME/.config/cron" [ -f "$ETC/inet/$2" ] && cat "$ETC/inet/$2" >> "$HOME/.config/inet" - [ -f "$ETC/skel/$2" ] && cp -r "$ETC/skel/$2/" >> "$HOME/.config/$2" + [ -f "$ETC/skel/$2" ] && cp -r "$ETC/skel/$2/" >> "/etc/$2" sort -uo "$HOME/.config/cron" "$HOME/.config/cron" sort -uo "$HOME/.config/inet" "$HOME/.config/inet" ;; diff --git a/skel/ngircd/conf b/skel/ngircd/conf @@ -4,7 +4,7 @@ AdminInfo2 = XXX AdminEMail = mail@josuah.net Info = XXX - MotdFile = /XXX/etc/config/ngircd/motd + MotdFile = /etc/config/ngircd/motd Network = XXX Ports = 6667 @@ -29,10 +29,10 @@ OperServerMode = yes [SSL] - CertFile = /XXX/var/ngircd/ssl/server-cert.pem + CertFile = /var/ngircd/ssl/server-cert.pem CipherList = XXX - DHFile = /XXX/var/ngircd/ssl/dhparams.pem - KeyFile = /XXX/var/ngircd/ssl/server-key.pem + DHFile = /var/ngircd/ssl/dhparams.pem + KeyFile = /var/ngircd/ssl/server-key.pem Ports = 6697 [Server]