[Main]
Type = oneshot
Version = 0.1.0
Description = "procps oneshot"
User = ( root )
Depends = ( mount-procfs mount-sysfs )
Options = ( !log )

[Start]
Execute = (
	# Apply sysctl --system. Soft-fail (foreground then exit 0).
	# Do not use bare backtick: it needs a command after the block.
	ifelse { test -x /usr/sbin/sysctl } {
		foreground { /usr/sbin/sysctl -q --system }
		exit 0
	}
	ifelse { test -x /sbin/sysctl } {
		foreground { /sbin/sysctl -q --system }
		exit 0
	}
	exit 0
)
