void-packages/srcpkgs/clockspeed/files/clockspeed_adjust/run

9 lines
247 B
Bash

#!/bin/sh -e
# clockspeed_adjust/run
# "run" script for a clockspeed_adjust daemon
echo "*** Checking for clockspeed daemon..."
sv -w5 u clockspeed
exec 2>&1
echo "*** Starting clockspeed_adjust..."
exec chpst -u clocksd:nogroup ./clock_adjust.sh