usb:add devmand usb_storage startup script.
Change-Id: Ied194729ea168e8b2cc03d3b808da01860f0eac5 http://gerrit.minix3.org/#/c/2694/
This commit is contained in:
parent
27bb595b9d
commit
b32ff391d3
3 changed files with 12 additions and 0 deletions
|
@ -79,6 +79,7 @@
|
|||
./etc/devmand/scripts minix-sys
|
||||
./etc/devmand/scripts/block minix-sys
|
||||
./etc/devmand/scripts/singlechar minix-sys
|
||||
./etc/devmand/usb_storage.cfg minix-sys
|
||||
./etc/gettytab minix-sys
|
||||
./etc/group minix-sys
|
||||
./etc/hostname.file minix-sys
|
||||
|
|
|
@ -430,6 +430,7 @@ install-etc-files-safe: .PHONY .MAKE check_DESTDIR MAKEDEV
|
|||
${BINOWN} ${BINGRP} ${BINMODE} ${NETBSDSRCDIR}/etc/ ${DESTDIR}/usr/lib/ crontab \
|
||||
${BINOWN} ${BINGRP} ${BINMODE} ${NETBSDSRCDIR}/etc/ ${DESTDIR}/etc/ system.conf \
|
||||
${BINOWN} ${BINGRP} ${NONBINMODE} ${NETBSDSRCDIR}/etc/usr/ ${DESTDIR}/usr/ Makefile \
|
||||
${BINOWN} ${BINGRP} ${BINMODE} ${NETBSDSRCDIR}/etc/devmand/ ${DESTDIR}/etc/devmand/ usb_storage.cfg \
|
||||
${BINOWN} ${BINGRP} ${BINMODE} ${NETBSDSRCDIR}/etc/devmand/scripts/ ${DESTDIR}/etc/devmand/scripts/ block \
|
||||
${BINOWN} ${BINGRP} ${BINMODE} ${NETBSDSRCDIR}/etc/devmand/scripts/ ${DESTDIR}/etc/devmand/scripts/ singlechar \
|
||||
${BINOWN} ${BINGRP} ${NONBINMODE} ${NETBSDSRCDIR}/etc/ast/ ${DESTDIR}/usr/ast/ .[aepv]* \
|
||||
|
|
10
etc/devmand/usb_storage.cfg
Normal file
10
etc/devmand/usb_storage.cfg
Normal file
|
@ -0,0 +1,10 @@
|
|||
usb_driver usb_storage
|
||||
{
|
||||
binary = /usr/sbin/usb_storage;
|
||||
id {
|
||||
bInterfaceClass = 0x08;
|
||||
}
|
||||
devprefix = usb_disk;
|
||||
upscript = /etc/devmand/scripts/block;
|
||||
downscript = /etc/devmand/scripts/block;
|
||||
}
|
Loading…
Reference in a new issue