From b796ef65d0e07ae86c34567d3913bfd81d506210 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Thu, 9 Feb 2023 22:03:20 +0000 Subject: Update to latest versions (yet untested) Signed-off-by: Laurent Bercot --- .../rootfs/etc/s6-rc/source-base/btmpd/dependencies.d/mount-rwfs | 0 layout/rootfs/etc/s6-rc/source-base/btmpd/notification-fd | 1 + layout/rootfs/etc/s6-rc/source-base/btmpd/run | 8 ++++++++ layout/rootfs/etc/s6-rc/source-base/btmpd/type | 1 + 4 files changed, 10 insertions(+) create mode 100644 layout/rootfs/etc/s6-rc/source-base/btmpd/dependencies.d/mount-rwfs create mode 100644 layout/rootfs/etc/s6-rc/source-base/btmpd/notification-fd create mode 100755 layout/rootfs/etc/s6-rc/source-base/btmpd/run create mode 100644 layout/rootfs/etc/s6-rc/source-base/btmpd/type (limited to 'layout/rootfs/etc/s6-rc/source-base/btmpd') diff --git a/layout/rootfs/etc/s6-rc/source-base/btmpd/dependencies.d/mount-rwfs b/layout/rootfs/etc/s6-rc/source-base/btmpd/dependencies.d/mount-rwfs new file mode 100644 index 0000000..e69de29 diff --git a/layout/rootfs/etc/s6-rc/source-base/btmpd/notification-fd b/layout/rootfs/etc/s6-rc/source-base/btmpd/notification-fd new file mode 100644 index 0000000..00750ed --- /dev/null +++ b/layout/rootfs/etc/s6-rc/source-base/btmpd/notification-fd @@ -0,0 +1 @@ +3 diff --git a/layout/rootfs/etc/s6-rc/source-base/btmpd/run b/layout/rootfs/etc/s6-rc/source-base/btmpd/run new file mode 100755 index 0000000..4c7ffe6 --- /dev/null +++ b/layout/rootfs/etc/s6-rc/source-base/btmpd/run @@ -0,0 +1,8 @@ +#!/package/admin/execline/command/execlineb -S1 + +fdmove -c 2 1 +s6-setuidgid utmp +cd /var/log/wtmpd +fdmove 1 3 +s6-ipcserver -1 -c 1000 -- /run/utmps/.btmpd-socket +utmps-wtmpd btmp diff --git a/layout/rootfs/etc/s6-rc/source-base/btmpd/type b/layout/rootfs/etc/s6-rc/source-base/btmpd/type new file mode 100644 index 0000000..5883cff --- /dev/null +++ b/layout/rootfs/etc/s6-rc/source-base/btmpd/type @@ -0,0 +1 @@ +longrun -- cgit v1.3.1