summarylogtreecommitdiffstats
path: root/systemd-gadget.install
blob: c877d4d62184fbe6e5fa404277f6e374e971f265 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
enable_service(){
	systemctl enable \
		gadget-init.service \
		gadget-start.service \
		usbgadget-func-acm.service \
		usbgadget-func-rndis.service \
		getty@ttyGS0.service
	systemctl add-wants getty@ttyGS0.service \
		usbgadget-func-acm.service
}
post_install(){
	enable_service
}
post_upgrade(){
	enable_service
}