summarylogtreecommitdiffstats
path: root/star-system.install
blob: ef02ba588c33aa9e3c3dd0de57eea0b435637ef0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
post_install () {
	echo ">>> Updating udev rules. Please wait ..." 
	udevadm control --reload-rules
	udevadm trigger --action=change --subsystem-match=star_spw_pci
	udevadm trigger --action=change --subsystem-match=star_spw_usb 

	echo ">>> Updating module dependencies. Please wait ..."
	depmod

	echo ">>> Updating library run time bindings. Please wait ..."
	sbin/ldconfig -r .

	echo ">>> Please load/unload the SpaceWire kernel modules manually"
}

post_upgrade() {
	echo ">>> Updating udev rules..." 
	udevadm control --reload-rules
	udevadm trigger --action=change --subsystem-match=star_spw_pci
	udevadm trigger --action=change --subsystem-match=star_spw_usb 
	
	echo ">>> Updating module dependencies. Please wait ..."
	depmod

	echo ">>> Updating library run time bindings. Please wait ..."
	sbin/ldconfig -r .

	echo ">>> Please load/unload the SpaceWire kernel modules manually"
}