summaryrefslogtreecommitdiff
path: root/s6/sv/udevadm/up
blob: 8e77db25eb2bc0f9ed131d0999cad46f55c860b1 (plain)
1
2
3
4
5
6
7
8
9
#!/bin/execlineb -P
# Initiate udev devices & subsystems
fdmove -c 2 1
if { s6-echo "[ Read-Only Mode ] 9/9 : Setting up devices & subsystems" }
if {
  foreground { udevadm trigger --action=add --type=subsystems }
  foreground { udevadm trigger --action=add --type=devices }
  udevadm settle
}