diff options
| author | Laurent Bercot <ska-skaware@skarnet.org> | 2023-02-09 22:03:20 +0000 |
|---|---|---|
| committer | Laurent Bercot <ska@appnovation.com> | 2023-02-09 22:03:20 +0000 |
| commit | b796ef65d0e07ae86c34567d3913bfd81d506210 (patch) | |
| tree | 95d254854b86166cd652140c275da084c06a8d0a /layout/rootfs/etc/s6-rc/source-base/init-utmp/up | |
| parent | 337f33185360c93e74eab974a3c8b8e31629231e (diff) | |
| download | lh-bootstrap-b796ef65d0e07ae86c34567d3913bfd81d506210.tar.gz | |
Update to latest versions (yet untested)
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'layout/rootfs/etc/s6-rc/source-base/init-utmp/up')
| -rw-r--r-- | layout/rootfs/etc/s6-rc/source-base/init-utmp/up | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/layout/rootfs/etc/s6-rc/source-base/init-utmp/up b/layout/rootfs/etc/s6-rc/source-base/init-utmp/up new file mode 100644 index 0000000..6d61a8b --- /dev/null +++ b/layout/rootfs/etc/s6-rc/source-base/init-utmp/up @@ -0,0 +1,3 @@ +backtick -E kversion { uname -r } +if { utmps-write -t 2000 -uw -l reboot -p 0 -h ${kversion} -- "~~" BOOT_TIME "~" } + utmps-write -t 2000 -uw -l runlevel -p 20018 -h ${kversion} -- "~~" RUN_LVL "~" |
