fine :)
Paul Alfille escreveu: > Ok, at least for Suse: > src/scripts/usb/suse_setup.sh which is: > > > On 11/30/06, *Roberto Spadim* <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> wrote: > > what about put in windows installer the drivers to be installed and > every think else? what about an "fast" install for unix? > > > > ### ------------------ > ### -- Constants ----- > ### ------------------ > OWFS_GROUP=ow > # > # > ### ----------------- > ### -- Group -------- > ### ----------------- > groupadd $OWFS_GROUP > # > ### ----------------- > ### -- Links -------- > ### ----------------- > # Put all the ninaries in /usr/bin > # make them part of the "ow" group > # and let only their owner and group read or execute them > OWFS_bin="owfs owhttpd owftpd owserver owread owwrite owpresent owdir" > for x in $OWFS_bin > do > ln -sfv /opt/owfs/bin/$x /usr/bin/$x > done > # > ### ----------------- > ### -- Rules -------- > ### ----------------- > cat >/etc/udev/rules.d/46_ds2490.rules << RULES > BUS=="usb", SYSFS=="04fa", SYSFS=="2490", GROUP="users", MODE="0774", > PROGRAM="/bin/sh -c 'K=%k; K=\$\$; printf bus/usb/%%03i/%%03i \$\$ > \$\$'", NAME="%c", RUN="/etc/udev/ds2490 '%c'" > RULES > # > ### ----------------- > ### -- Shell -------- > ### ----------------- > cat >/etc/udev/ds2490 << SHELL > #! /bin/sh -x > /sbin/rmmod ds9490r > MATCH="no" > if [ "\$1" != "" ]; then > if [ -f /proc/\$1 ]; then > chgrp $OWFS_GROUP /proc/\$1 && \ > chmod g+rw /proc/\$1 && \ > logger ow udev: group set to $OWFS_GROUP and permission > g+rw on /proc/\$1 > MATCH="yes" > fi > > if [ -e /dev/\$1 ]; then > chgrp $OWFS_GROUP /dev/\$1 && \ > chmod g+rw /dev/\$1 && \ > logger ow udev: group set to $OWFS_GROUP and permission > g+rw on /dev/\$1 > MATCH="yes" > fi > fi > > if [ "\$MATCH" = "no" ]; then > echo ow udev: no device file found for "\$1" > logger ow udev: no device file found for "\$1" > fi > SHELL > > ------------------------------------------------------------------------ > Esta mensagem foi verificada pelo E-mail Protegido Terra > <http://mail.terra.com.br/>. > Scan engine: McAfee VirusScan / Atualizado em 01/12/2006 / Versão: > 4.4.00/4909 > Proteja o seu e-mail Terra: http://mail.terra.com.br/ > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > ------------------------------------------------------------------------ > > _______________________________________________ > Owfs-developers mailing list > Owfs-developers@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/owfs-developers > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers