dot

packages and services management
Log | Files | Refs | README

commit c1a8d91523c1926a62cc796482adf6f8ceed8743
parent af62d055388effdcdc50ba26939dc901f27e8668
Author: Josuah Demangeon <mail@josuah.net>
Date:   Mon,  8 Jan 2018 01:52:31 +0100

clean up conf to keep only essential

Diffstat:
Mbin/etc | 15+--------------
Mbin/io-grpwd | 4++--
Mpack/tinc/build | 2+-
Mpack/tinc/tar | 2+-
Mskel/services | 4+++-
5 files changed, 8 insertions(+), 19 deletions(-)

diff --git a/bin/etc b/bin/etc @@ -27,19 +27,6 @@ case $1 in git clone josuah@josuah.net:srv/git/srv.git "$HOME/srv" cd "$HOME/srv" && make ;; -(setup) - mkdir -p "$HOME/.config" - [ -f "$ETC/cron/$2" ] && cat "$ETC/cron/$2" >> "$HOME/.config/cron" && - sort -uo "$HOME/.config/cron" "$HOME/.config/cron" - [ -f "$ETC/inet/$2" ] && cat "$ETC/inet/$2" >> "$HOME/.config/inet" && - sort -uo "$HOME/.config/inet" "$HOME/.config/inet" - [ -d "$ETC/skel/$2" ] && mkdir -p "/etc/$2" && - cp -ri "$ETC/skel/$2"/* "/etc/$2" - [ -f "$ETC/skel/$2" ] && cp -i "$ETC/skel/$2" "/etc/$2" - ;; -(fonts) - fc-cache "$ETC/fonts" - ;; (*) - printf 'usage: etc [dot | srv | setup service | fonts]\n' + printf 'usage: etc [dot | mkdir | srv]\n' esac diff --git a/bin/io-grpwd b/bin/io-grpwd @@ -2,8 +2,8 @@ { printf '#name: pw: uid: gid: class: home_dir: shell\n' | - cat - /etc/passwd | column -ts : + cat - /etc/passwd | sed 's/::/: :/g' | column -ts : printf '#group: pw: gid: member\n' | - cat - /etc/group | column -ts : + cat - /etc/group | sed 's/::/: :/g' | column -ts : } | iomenu -# diff --git a/pack/tinc/build b/pack/tinc/build @@ -4,4 +4,4 @@ case $(uname) in (*BSD) gmake install ;; (*) make install ;; esac -mv "$OPT/sbin" "$OPT/bin" +mv "$OPT/sbin"/* "$OPT/bin" diff --git a/pack/tinc/tar b/pack/tinc/tar @@ -1 +1 @@ -https://www.tinc-vpn.org/packages/tinc-1.0.33.tar.gz +http://tinc-vpn.org/packages/tinc-1.1pre15.tar.gz diff --git a/skel/services b/skel/services @@ -1 +1,3 @@ -u9fs 564/tcp +u9fs 564/tcp +tinc 655/tcp TINC +tinc 655/udp TINC