]> err.no Git - systemd/commit
let $attr{symlink} return the last element of the path
authorKay Sievers <kay.sievers@suse.de>
Tue, 5 Sep 2006 00:18:06 +0000 (02:18 +0200)
committerKay Sievers <kay.sievers@suse.de>
Tue, 5 Sep 2006 00:18:06 +0000 (02:18 +0200)
commiteef5447934a07279bc76f3f65b0302ddea8556ab
tree83787f593db778e5471e03b441a5852e99618bca
parentac528431dd60c6b7f6b664ba430b937a11a32230
let $attr{symlink} return the last element of the path

Example for /block/sda:
  SUBSYSTEMS="scsi", ENV{COMMENT}="$attr{driver}"
sets COMMENT=sd
  SUBSYSTEMS="pci", ENV{COMMENT}="$attr{driver}"
sets COMMENT=ata_piix
test/udev-test.pl
udev_rules.c
udev_sysfs.c