summaryrefslogtreecommitdiff
path: root/system/atarisio/doinst.sh
blob: d3b55d1299bd4382b29f7a2e6253baa9a974192d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

if [ -x sbin/depmod ]; then
	chroot . /sbin/depmod -a
fi

# Ensure that udevd knows what's up with the atarisio device(s)...
# If you're on Slack 12.1 or older, the --reload-rules needs to be
# replaced with --reload_rules below.

if [ -x sbin/udevadm ]; then
	sbin/udevadm control --reload-rules 2>/dev/null
fi