summarylogtreecommitdiffstats
path: root/softu2f.install
blob: a93de2d04a641f4def32ed648c53dcc4f9cc9837 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
post_upgrade() {
	post_install
}

post_install() {
	systemctl --preset-mode=enable-only preset softu2f.socket
	if systemctl --quiet is-enabled softu2f.socket; then
		systemctl start softu2f.socket
	else
		echo " * You need to activate 'softu2f.socket' via 'systemctl'."
	fi
	echo " * You also need to activate 'softu2f.service' via 'systemctl --user'."
}