#!/bin/sh set -e echo "Configuring haveged" perl -pi -E 's,^(ExecStart=.*)--write=\d+$,$1--write=2048",' \ /lib/systemd/system/haveged.service