From b22897ced155a2c029b1d2fa83aed31706347bcd Mon Sep 17 00:00:00 2001 From: fbt Date: Tue, 27 Jan 2015 10:16:07 +0300 Subject: [PATCH 1/2] znet --- init.d/znet | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 init.d/znet diff --git a/init.d/znet b/init.d/znet new file mode 100755 index 0000000..22786fa --- /dev/null +++ b/init.d/znet @@ -0,0 +1,10 @@ +#!/usr/bin/env watchman + +service_type='oneshot' +service_command='/usr/local/sbin/znet' +service_args='-d' + +stop() { + "$service_command" $service_args down + watchman.stop +} From 5b41f672501375391184e08a0e16e7f1dd07a9af Mon Sep 17 00:00:00 2001 From: fbt Date: Sun, 8 Feb 2015 03:17:49 +0300 Subject: [PATCH 2/2] some default useful links --- conf.d/devfs-links.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/conf.d/devfs-links.sh b/conf.d/devfs-links.sh index a02afb4..9a9f096 100644 --- a/conf.d/devfs-links.sh +++ b/conf.d/devfs-links.sh @@ -3,4 +3,7 @@ cfg_links=( '/proc/self/fd;/dev/fd' + '/proc/self/fd/0;/dev/stdin' + '/proc/self/fd/1;/dev/stdout' + '/proc/self/fd/2;/dev/stderr' )