10 lines
288 B
Bash
Executable File
10 lines
288 B
Bash
Executable File
#!/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..."
|
|
chown clocksd /var/lib/clockspeed/adjust
|
|
exec chpst -u clocksd:nogroup ./clock_adjust.sh
|