mirror of
https://github.com/systemd/systemd.git
synced 2025-01-26 14:04:03 +03:00
[PATCH] convert the test shell scripts to the config file format.
This commit is contained in:
parent
b7824727a0
commit
c38b796be9
@ -8,7 +8,7 @@ export SYSFS_PATH=$PWD/sys/
|
||||
export UDEV_CONFIG_FILE=$PWD/$CONFIG
|
||||
|
||||
cat > $RULES << EOF
|
||||
IGNORE, KERNEL="ttyUSB0"
|
||||
KERNEL="ttyUSB0", NAME=""
|
||||
EOF
|
||||
|
||||
cat > $CONFIG << EOF
|
||||
|
@ -8,8 +8,8 @@ export SYSFS_PATH=$PWD/sys/
|
||||
export UDEV_CONFIG_FILE=$PWD/$CONFIG
|
||||
|
||||
cat > $RULES << EOF
|
||||
LABEL, BUS="scsi", SYSFS_vendor="IBM-ESXS", SYSFS_model="ST336605LW !#", NAME="boot_diskX%n"
|
||||
LABEL, BUS="scsi", SYSFS_vendor="IBM-ESXS", SYSFS_model="ST336605LW !#", NAME="boot_disk%n"
|
||||
BUS="scsi", SYSFS_vendor="IBM-ESXS", SYSFS_model="ST336605LW !#", NAME="boot_diskX%n"
|
||||
BUS="scsi", SYSFS_vendor="IBM-ESXS", SYSFS_model="ST336605LW !#", NAME="boot_disk%n"
|
||||
EOF
|
||||
|
||||
cat > $CONFIG << EOF
|
||||
|
@ -8,7 +8,7 @@ export SYSFS_PATH=$PWD/sys/
|
||||
export UDEV_CONFIG_FILE=$PWD/$CONFIG
|
||||
|
||||
cat > $RULES << EOF
|
||||
TOPOLOGY, BUS="scsi", place="0:0:0:0", NAME="Major:%M:minor:%m:kernelnumber:%n:bus:%b"
|
||||
BUS="scsi", place="0:0:0:0", NAME="Major:%M:minor:%m:kernelnumber:%n:bus:%b"
|
||||
EOF
|
||||
|
||||
cat > $CONFIG << EOF
|
||||
|
@ -8,7 +8,7 @@ export SYSFS_PATH=$PWD/sys/
|
||||
export UDEV_CONFIG_FILE=$PWD/$CONFIG
|
||||
|
||||
cat > $RULES << EOF
|
||||
REPLACE, KERNEL="ttyUSB0", NAME="visor"
|
||||
KERNEL="ttyUSB0", NAME="visor"
|
||||
EOF
|
||||
|
||||
cat > $CONFIG << EOF
|
||||
|
@ -8,7 +8,7 @@ export SYSFS_PATH=$PWD/sys/
|
||||
export UDEV_CONFIG_FILE=$PWD/$CONFIG
|
||||
|
||||
cat > $RULES << EOF
|
||||
TOPOLOGY, BUS="scsi", place="0:0:0:0", NAME="first_disk%n"
|
||||
BUS="scsi", place="0:0:0:0", NAME="first_disk%n"
|
||||
EOF
|
||||
|
||||
cat > $CONFIG << EOF
|
||||
|
Loading…
x
Reference in New Issue
Block a user