aboutsummaryrefslogtreecommitdiffstats
path: root/install/uname
blob: b30eeb30ba55b7ac6758b7743b8f4947389ee044 (about) (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh

build() {
	if add_systemd_unit uname.service 2>/dev/null; then
		add_symlink "/usr/lib/systemd/system/sysinit.target.wants/uname.service" "../uname.service"
	else
		add_runscript
	fi
	# busybox provides uname, so we do not add it
}

help() {
	echo "This hook adds an uname output to the boot process."
}