dot

packages and services management
Log | Files | Refs | README

commit a0d49b5b1d6f1fc07eb259f48c1ddd345bd15be1
parent 79604dfa79460964111d08b9aefe967c5f71f334
Author: Josuah Demangeon <mail@josuah.net>
Date:   Thu, 22 Feb 2018 10:23:23 +0100

check implementation of inetd (busybox or *BSD)

Diffstat:
Msv/inetd/run | 13++++++++++++-
1 file changed, 12 insertions(+), 1 deletion(-)

diff --git a/sv/inetd/run b/sv/inetd/run @@ -1,4 +1,15 @@ #!/bin/sh -e exec 2>&1 -exec inetd + +case "$(readlink "$(command -v inetd)")" in +(*busybox*) + exec inetd -f "$HOME/.config/inetd.conf" + ;; +esac + +case "$(uname -n)" in +(*BSD) + exec inetd -d "$HOME/.config/inetd.conf" + ;; +esac