void-packages/srcpkgs/fake-hwclock/files/fake-hwclock/run
2024-08-02 13:24:47 -04:00

6 lines
162 B
Bash

#!/bin/sh
exec 2>&1
exec 1>&2
[ -r /etc/default/fake-hwclock ] && . /etc/default/fake-hwclock
fake-hwclock load $FORCE || exit 1
exec chpst -b fake-hwclock pause