diff options
author | (no author) | 2006-09-05 21:18:44 +0200 |
---|---|---|
committer | (no author) | 2006-09-05 21:18:44 +0200 |
commit | 067924c8e31057bfecf425a9b85a6b71ebfefdef (patch) | |
tree | 110f681b7cdde4f4cba381966dd15c6adb8abd9d /initrd | |
parent | Testing for AFS ... hwautocfg - special action for scanner configuration (diff) | |
download | core-067924c8e31057bfecf425a9b85a6b71ebfefdef.tar.gz core-067924c8e31057bfecf425a9b85a6b71ebfefdef.tar.xz core-067924c8e31057bfecf425a9b85a6b71ebfefdef.zip |
Setting of proper permissions if scanner is used (special udev rule)
git-svn-id: http://svn.openslx.org/svn/openslx/trunk@357 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'initrd')
-rwxr-xr-x | initrd/initrd-stuff/bin/hwautocfg | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/initrd/initrd-stuff/bin/hwautocfg b/initrd/initrd-stuff/bin/hwautocfg index 9d9a3315..a9b5f29c 100755 --- a/initrd/initrd-stuff/bin/hwautocfg +++ b/initrd/initrd-stuff/bin/hwautocfg @@ -368,7 +368,9 @@ if strinfile "SCSI" /tmp/hwsetup.info ; then strinfile "CDROM" /tmp/hwsetup.info && { modprobe ${MODPRV} sr_mod; modprobe ${MODPRV} sg; } strinfile "HD" /tmp/hwsetup.info && modprobe ${MODPRV} sd_mod - strinfile "SCANNER" /tmp/hwsetup.info && : + strinfile "SCANNER" /tmp/hwsetup.info && \ + echo -e 'KERNEL=="sg*",\t\tNAME="%k", GROUP="disk", MODE="666"' \ + >> /etc/udev/rules.d/04-scanner.rules fi # fixme - psmouse entladen, falls nicht vorhanden |