summaryrefslogtreecommitdiff
path: root/utils/50-iscsi-firmware-login.rules.template
blob: 9fa1e7df0bed3bca23b3237512bfe858cf075a41 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# This file contains the rules to handle iscsi firmware changes

# DO NOT WRAP THIS LINE
#
# old udev does not understand some of it,
# and would end up skipping only some lines, not the full rule.
# which can cause all sort of trouble with strange-named device nodes
# for completely unrelated devices,
# resulting in unusable network lookback, etc.
#
# in case this is "accidentally" installed on a system with old udev,
# having it as one single line avoids those problems.
#
# DO NOT WRAP THIS LINE
SUBSYSTEM=="iscsi_boot*", ACTION=="add", DEVPATH=="*/target*", RUN+="@SBINDIR@/iscsi_fw_login"