aboutsummaryrefslogtreecommitdiff
blob: 7679481929aefcf32c29d5b1c4aa36026366113b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
	eend 0
}

stop() {
	# We unregister everything in the "qemu-xxx" namespace.
	ebegin "Unregistering qemu-user binaries"
	local f
	for f in /proc/sys/fs/binfmt_misc/qemu-* ; do
		if [ -f "${f}" ] ; then
			echo '-1' > "${f}"
		fi
	done
	eend 0
}