Browse Source

pusb_adm -> pusb_conf

Andrea Luzzardi 18 years ago
parent
commit
3fc1b1ee23
8 changed files with 10 additions and 10 deletions
  1. +4
    -4
      Makefile
  2. +1
    -1
      doc/CONFIGURATION
  3. +4
    -4
      doc/INSTALLATION
  4. +1
    -1
      doc/pusb.conf-dist
  5. BIN
      doc/pusb_adm.1.gz
  6. BIN
      doc/pusb_check.1.gz
  7. BIN
      doc/pusb_conf.1.gz
  8. BIN
      doc/pusb_hotplug.1.gz

+ 4
- 4
Makefile View File

@ -32,7 +32,7 @@ PUSB_CHECK_OBJS := $(PUSB_CHECK_SRCS:.c=.o)
PUSB_CHECK := pusb_check PUSB_CHECK := pusb_check
# Tools # Tools
PUSB_ADM := tools/pusb_adm
PUSB_CONF := tools/pusb_conf
PUSB_HOTPLUG := tools/pusb_hotplug PUSB_HOTPLUG := tools/pusb_hotplug
TOOLS_DEST := $(DESTDIR)/usr/bin TOOLS_DEST := $(DESTDIR)/usr/bin
@ -45,7 +45,7 @@ DOCS := doc/INSTALLATION doc/CONFIGURATION doc/UPGRADING doc/FAQ
DOCS_DEST := $(DESTDIR)/usr/share/doc/pamusb DOCS_DEST := $(DESTDIR)/usr/share/doc/pamusb
# Man # Man
MANS := doc/pusb_adm.1.gz doc/pusb_hotplug.1.gz doc/pusb_check.1.gz
MANS := doc/pusb_conf.1.gz doc/pusb_hotplug.1.gz doc/pusb_check.1.gz
MANS_DEST := $(DESTDIR)/usr/share/man/man1 MANS_DEST := $(DESTDIR)/usr/share/man/man1
# Binaries # Binaries
@ -74,13 +74,13 @@ clean :
install : all install : all
$(MKDIR) -p $(CONFS_DEST) $(DOCS_DEST) $(MKDIR) -p $(CONFS_DEST) $(DOCS_DEST)
$(INSTALL) -m644 $(PAM_USB) $(PAM_USB_DEST) $(INSTALL) -m644 $(PAM_USB) $(PAM_USB_DEST)
$(INSTALL) -m755 $(PUSB_CHECK) $(PUSB_ADM) $(PUSB_HOTPLUG) $(TOOLS_DEST)
$(INSTALL) -m755 $(PUSB_CHECK) $(PUSB_CONF) $(PUSB_HOTPLUG) $(TOOLS_DEST)
$(INSTALL) -m644 $(CONFS) $(CONFS_DEST) $(INSTALL) -m644 $(CONFS) $(CONFS_DEST)
$(INSTALL) -m644 $(DOCS) $(DOCS_DEST) $(INSTALL) -m644 $(DOCS) $(DOCS_DEST)
$(INSTALL) -m644 $(MANS) $(MANS_DEST) $(INSTALL) -m644 $(MANS) $(MANS_DEST)
deinstall : deinstall :
$(RM) -f $(PAM_USB_DEST)/$(PAM_USB) $(RM) -f $(PAM_USB_DEST)/$(PAM_USB)
$(RM) -f $(TOOLS_DEST)/$(PUSB_CHECK) $(TOOLS_DEST)/$(PUSB_ADM) $(TOOLS_DEST)/$(PUSB_HOTPLUG)
$(RM) -f $(TOOLS_DEST)/$(PUSB_CHECK) $(TOOLS_DEST)/$(PUSB_CONF) $(TOOLS_DEST)/$(PUSB_HOTPLUG)
$(RM) -rf $(DOCS_DEST) $(RM) -rf $(DOCS_DEST)
$(RM) -f $(MANS_DEST)/pusb_* $(RM) -f $(MANS_DEST)/pusb_*

+ 1
- 1
doc/CONFIGURATION View File

@ -176,7 +176,7 @@ combine and override options.
<!-- Device settings --> <!-- Device settings -->
<devices> <devices>
<device id="MyDevice"> <device id="MyDevice">
<!-- This part was generated by pusb_adm -->
<!-- This part was generated by pusb_conf -->
<vendor>SanDisk Corp.</vendor> <vendor>SanDisk Corp.</vendor>
<model>Cruzer Titanium</model> <model>Cruzer Titanium</model>
<serial>SNDKXXXXXXXXXXXXXXXX</serial> <serial>SNDKXXXXXXXXXXXXXXXX</serial>


+ 4
- 4
doc/INSTALLATION View File

@ -9,7 +9,7 @@ an older version of pamusb.
* libhal-storage * libhal-storage
* libxml2 * libxml2
* Requirements for pusb_hotplug and pusb_adm:
* Requirements for pusb_hotplug and pusb_conf:
* python2.4 * python2.4
* python-celementtree * python-celementtree
* python-dbus * python-dbus
@ -35,10 +35,10 @@ $ make
cp /etc/pusb/pusb.conf-dist /etc/pusb/pusb.conf cp /etc/pusb/pusb.conf-dist /etc/pusb/pusb.conf
* Once you've connected your USB device to the computer, use pusb_adm to add it
* Once you've connected your USB device to the computer, use pusb_conf to add it
to the configuration file: to the configuration file:
# pusb_adm --add-device MyDevice
# pusb_conf --add-device MyDevice
Name : MyDevice Name : MyDevice
Vendor : SanDisk Corp. Vendor : SanDisk Corp.
Model : Cruzer Titanium Model : Cruzer Titanium
@ -49,7 +49,7 @@ Save device to /etc/pusb/pusb.conf ?
Done. Done.
Note that MyDevice can be any arbitrary name you'd like. Note that MyDevice can be any arbitrary name you'd like.
If more devices are connected, pusb_adm will ask you which device you want to
If more devices are connected, pusb_conf will ask you which device you want to
use. use.
* Edit your /etc/pusb/pusb.conf config file to add the users: * Edit your /etc/pusb/pusb.conf config file to add the users:


+ 1
- 1
doc/pusb.conf-dist View File

@ -16,7 +16,7 @@ See http://www.pamusb.org/doc/configuring
<!-- Device settings --> <!-- Device settings -->
<devices> <devices>
<!-- Example: <!-- Example:
Note: You should use pusb_adm to add devices automatically.
Note: You should use pusb_conf to add devices automatically.
<device id="MyDevice"> <device id="MyDevice">
<vendor>SanDisk Corp.</vendor> <vendor>SanDisk Corp.</vendor>
<model>Cruzer Titanium</model> <model>Cruzer Titanium</model>


BIN
doc/pusb_adm.1.gz View File


BIN
doc/pusb_check.1.gz View File


BIN
doc/pusb_conf.1.gz View File


BIN
doc/pusb_hotplug.1.gz View File


Loading…
Cancel
Save