Browse Source

pusb_adm -> pusb_conf

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

+ 1
- 1
fetch_doc.rb View File

@ -11,7 +11,7 @@ require 'open-uri'
BASE_URI = 'http://www.pamusb.org/wiki/doc/'
DOC_PATH = './pam_usb/doc/'
DOCS = [ 'installation', 'upgrading', 'configuration', 'faq' ]
MANS = [ 'pusb_hotplug', 'pusb_adm', 'pusb_check' ]
MANS = [ 'pusb_hotplug', 'pusb_conf', 'pusb_check' ]
REPLACE_LIST = [
# Remove wiki links [[link|name]]


+ 4
- 4
pam_usb/Makefile View File

@ -32,7 +32,7 @@ PUSB_CHECK_OBJS := $(PUSB_CHECK_SRCS:.c=.o)
PUSB_CHECK := pusb_check
# Tools
PUSB_ADM := tools/pusb_adm
PUSB_CONF := tools/pusb_conf
PUSB_HOTPLUG := tools/pusb_hotplug
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
# 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
# Binaries
@ -74,13 +74,13 @@ clean :
install : all
$(MKDIR) -p $(CONFS_DEST) $(DOCS_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 $(DOCS) $(DOCS_DEST)
$(INSTALL) -m644 $(MANS) $(MANS_DEST)
deinstall :
$(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) -f $(MANS_DEST)/pusb_*

+ 1
- 1
pam_usb/doc/CONFIGURATION View File

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


+ 4
- 4
pam_usb/doc/INSTALLATION View File

@ -9,7 +9,7 @@ an older version of pamusb.
* libhal-storage
* libxml2
* Requirements for pusb_hotplug and pusb_adm:
* Requirements for pusb_hotplug and pusb_conf:
* python2.4
* python-celementtree
* python-dbus
@ -35,10 +35,10 @@ $ make
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:
# pusb_adm --add-device MyDevice
# pusb_conf --add-device MyDevice
Name : MyDevice
Vendor : SanDisk Corp.
Model : Cruzer Titanium
@ -49,7 +49,7 @@ Save device to /etc/pusb/pusb.conf ?
Done.
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.
* Edit your /etc/pusb/pusb.conf config file to add the users:


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

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


BIN
pam_usb/doc/pusb_adm.1.gz View File


BIN
pam_usb/doc/pusb_check.1.gz View File


BIN
pam_usb/doc/pusb_conf.1.gz View File


BIN
pam_usb/doc/pusb_hotplug.1.gz View File


Loading…
Cancel
Save