aboutsummaryrefslogtreecommitdiff
path: root/network/xinetd/doinst.sh
diff options
context:
space:
mode:
authorAaditya Bagga <aaditya_gnulinux@zoho.com>2019-02-17 23:58:48 +0530
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-02-23 08:25:54 +0700
commit0bd54b4ba4e9bff5c3765d9a14d6af7ec4d57d65 (patch)
tree9325d2197d82464dabcb329e9f6f541e140518dd /network/xinetd/doinst.sh
parent2993bbf3dcd94d4aebac8808bcc3431aa8c340ed (diff)
network/xinetd: Updated for version 2.3.15.4, upstream changed.
Diffstat (limited to 'network/xinetd/doinst.sh')
-rw-r--r--network/xinetd/doinst.sh28
1 files changed, 15 insertions, 13 deletions
diff --git a/network/xinetd/doinst.sh b/network/xinetd/doinst.sh
index 1f9319c35c49f..2a82b398238f0 100644
--- a/network/xinetd/doinst.sh
+++ b/network/xinetd/doinst.sh
@@ -7,6 +7,7 @@ config() {
rm $NEW
fi
}
+
preserve_perms() {
NEW="$1"
OLD="$(dirname $NEW)/$(basename $NEW .new)"
@@ -17,18 +18,19 @@ preserve_perms() {
fi
config $NEW
}
+
config etc/xinetd.conf.new
-config etc/xinetd.d/chargen-dgram.new
-config etc/xinetd.d/chargen-stream.new
-config etc/xinetd.d/daytime-dgram.new
-config etc/xinetd.d/daytime-stream.new
-config etc/xinetd.d/discard-dgram.new
-config etc/xinetd.d/discard-stream.new
-config etc/xinetd.d/echo-dgram.new
-config etc/xinetd.d/echo-stream.new
-config etc/xinetd.d/ftp-sensor.new
-config etc/xinetd.d/tcpmux-server.new
-config etc/xinetd.d/time-dgram.new
-config etc/xinetd.d/time-stream.new
-preserve_perms etc/rc.d/rc.xinetd.new
+config etc/xinetd.d/chargen.new
+config etc/xinetd.d/chargen-udp.new
+config etc/xinetd.d/daytime.new
+config etc/xinetd.d/daytime-udp.new
+config etc/xinetd.d/discard.new
+config etc/xinetd.d/discard-udp.new
+config etc/xinetd.d/echo.new
+config etc/xinetd.d/echo-udp.new
+config etc/xinetd.d/servers.new
+config etc/xinetd.d/services.new
+config etc/xinetd.d/time.new
+config etc/xinetd.d/time-udp.new
+preserve_perms etc/rc.d/rc.xinetd.new