Debian Codegraph @

debian/extra/initramfs-tools/scripts/init-top/udev

raw symbols SCIP
1 #!/bin/shscip-shell filesystem . . `/bin/sh`. -e
2
3 PREREQS=""
4
5 prereqsscip-shell shell systemd 261~rc3-1 prereqs().() { echoscip-shell system . . echo. "$PREREQS"; }
6
7 case "$1" in
8 prereqs)
9 prereqsscip-shell shell systemd 261~rc3-1 prereqs().
10 exit 0
11 ;;
12 esac
13
14 if [scip-shell system . . `[`. -w /sys/kernel/uevent_helperscip-shell filesystem . . `/sys/kernel/uevent_helper`. ]; then
15 echoscip-shell system . . echo. > /sys/kernel/uevent_helperscip-shell filesystem . . `/sys/kernel/uevent_helper`.
16 fi
17
18 if [scip-shell system . . `[`. "${quiet:-n}" = "y" ]; then
19 log_level=notice
20 else
21 log_level=info
22 fi
23
24 SYSTEMD_LOG_LEVEL=$log_level /usr/lib/systemd/systemd-udevdscip-shell filesystem . . `/usr/lib/systemd/systemd-udevd`. --daemon --resolve-names=never
25
26 udevadm trigger --type=subsystems --action=add
27 udevadm trigger --type=devices --action=add
28 udevadm settle || truescip-shell system . . true.
29
30 # Leave udev running to process events that come in out-of-band (like USB
31 # connections)