Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

dh_installudev(1) [linux man page]

DH_INSTALLUDEV(1)						     Debhelper							 DH_INSTALLUDEV(1)

NAME
dh_installudev - install udev rules files SYNOPSIS
dh_installudev [debhelperoptions] [-n] [--name=name] [--priority=priority] DESCRIPTION
dh_installudev is a debhelper program that is responsible for installing udev rules files. Code is added to the preinst and postinst to handle the upgrade from the old udev rules file location. FILES
debian/package.udev Installed into lib/udev/rules.d/ in the package build directory. OPTIONS
--name=name When this parameter is used, dh_installudev looks for and installs files named debian/package.name.udev instead of the usual debian/package.udev. --priority=priority Sets the priority string of the rules.d symlink. Default is 40. -n, --noscripts Do not modify preinst/postinst scripts. NOTES
Note that this command is not idempotent. dh_prep(1) should be called between invocations of this command. Otherwise, it may cause multiple instances of the same text to be added to maintainer scripts. SEE ALSO
debhelper(7) This program is a part of debhelper. AUTHOR
Joey Hess <joeyh@debian.org> 8.9.0ubuntu2.1 2012-06-12 DH_INSTALLUDEV(1)

Check Out this Related Man Page

DH_INSTALLUDEV(1)						     Debhelper							 DH_INSTALLUDEV(1)

NAME
dh_installudev - install udev rules files SYNOPSIS
dh_installudev [debhelperoptions] [-n] [--name=name] [--priority=priority] DESCRIPTION
dh_installudev is a debhelper program that is responsible for installing udev rules files. Code is added to the preinst and postinst to handle the upgrade from the old udev rules file location. FILES
debian/package.udev Installed into lib/udev/rules.d/ in the package build directory. OPTIONS
--name=name When this parameter is used, dh_installudev looks for and installs files named debian/package.name.udev instead of the usual debian/package.udev. --priority=priority Sets the priority string of the rules.d symlink. Default is 60. -n, --noscripts Do not modify preinst/postinst scripts. NOTES
Note that this command is not idempotent. dh_prep(1) should be called between invocations of this command. Otherwise, it may cause multiple instances of the same text to be added to maintainer scripts. SEE ALSO
debhelper(7) This program is a part of debhelper. AUTHOR
Joey Hess <joeyh@debian.org> 9.20120909 2011-09-12 DH_INSTALLUDEV(1)
Man Page

15 More Discussions You Might Find Interesting

1. AIX

mechanism of AIX ?

Hi all, on aix,whether have udev or devfs mechanism? thanks! (4 Replies)
Discussion started by: anonys
4 Replies

2. Shell Programming and Scripting

Which commands???

For beginning, to be honest, it is part of my homework (i know it is against the rules), but i dont want the results from you. I just want to know which command/s should i use to do it. I have file with random letters numbers, whatever, and somewhere there are these brackets " {} " and one... (2 Replies)
Discussion started by: Mader
2 Replies

3. Solaris

error in jumpstart while cretaing rules.ok with ./check

Hi Gurus, When i am running the ./check and i am getting below error Error in files "rules", line 92 hostname sample_host - host_class set_root_pw Error: Finish script missing: set_root_pw i do not have any begin or finish define in my rules file it just marked as - , the content... (2 Replies)
Discussion started by: kumarmani
2 Replies

4. Shell Programming and Scripting

Auto-executing a script by plugging in a USB Stick - How?

I have a script. And I want it to be executed whenever I plug in my stick in my PC or in other PCs. I have heard about udev rules but they doesn't suit me, i have to do the same thing in more of 6 PCs - tiring. So, is there any way to auto-execute a script when the USB is plugged in?:confused: (6 Replies)
Discussion started by: hakermania
6 Replies

5. Shell Programming and Scripting

Replacing text from multiple files at multiple location

Hi, I have many files scattered in all different folders. I want to replace the text within all the files using a single command ( awk, sed...) Is it possible? example find all the files in which there is text "memory" and replace it with "branded_memories". the files can be at the... (2 Replies)
Discussion started by: rudoraj
2 Replies

6. Shell Programming and Scripting

Pass params with Udev

Hello! I'm sorry if this is the false Forum, didn't really knew where to put it... My question: I have serveral USB-Sticks and wrote several Udev-Rules for theme, each Sticks needs to do something else, but all are using the same script (they have common tasks to do) and only some parts are... (2 Replies)
Discussion started by: al0x
2 Replies

7. Shell Programming and Scripting

Modify different files at the same time

Hi, I'm having the following problem. I have some files to modify, between a large number of files. I thought the following code aux2=`grep -l 2.2.17 *` print "$aux2" aux3=`ls -l *.ksh | wc -l` print "$aux3" while ; do print "The counter is $aux3" #Add the sed here ... (3 Replies)
Discussion started by: radicaled
3 Replies

8. Red Hat

set device mode permanently with udev rule

On a test server running CentOS 6, I try to permanently set the owner, group and mode of disk devices for use with a DB2 database. For this I created an udev rule file /etc/udev/rules.d/99-db2.rules: KERNEL=="sdb*", OWNER="db2usrl1", GROUP="db2adml1", MODE="0600" After a reboot, the owner and... (4 Replies)
Discussion started by: hergp
4 Replies

9. Shell Programming and Scripting

Help with AWK Code

hello, I would appreciate a little assistance with a process I'm trying to automate. I have several files that are zipped in central location, all follow the same naming conventions i.e (file 1, file 2, etc). what i would like to do is unzip the files and combined them into one file, basically... (2 Replies)
Discussion started by: mrn970
2 Replies

10. UNIX and Linux Applications

Cross Compiling Issue of udev-151 for MIPS Little Endain Architecture

Hi All, I am trying to cross compile udev-151 for MIPS little endian architecture. I am configuring like this: ./configure --prefix=$PWD/sree --host=mips-linux-gnu configure: WARNING: If you wanted to set the --build type, don't use --host. If a cross compiler is detected then... (3 Replies)
Discussion started by: bsreeram
3 Replies

11. Shell Programming and Scripting

Searching for multiple patters using grep

i have a file as below grepfile.txt ---------------- RNTO command successful No such file or directory Authentication failed if i seach individually for 'RNTO command successful' or 'No such file or directory' using grep -i as below, im gettting result. grep -i 'No such file or... (5 Replies)
Discussion started by: JSKOBS
5 Replies

12. Shell Programming and Scripting

How to copy files from one location to another based on a priority?

Hi Gurus, I am a newbie to shell scripting and I am facing a problem right now.I have to automate the copy of files based on a priority.The scenario is as below: 1) There will be files from Mon-Fri with Mon file being named as abc_def_01_YYYYMMDD and Tue file being abc_def_02_YYYYMMDD and so... (4 Replies)
Discussion started by: vikramgk9
4 Replies

13. Shell Programming and Scripting

Ls to find to copy

I am looking to do the following: In a folder with multiple files in it, take the listing (ls) and search another directory for there file names, then take that output and copy the files out. This is to update a webpage. So a dev writes a new file and puts it in an update folder then i copy... (7 Replies)
Discussion started by: darbs121
7 Replies

14. Shell Programming and Scripting

Matching only the strings I provide - sed

Hello.. I am currently learning sed and have found myself in some trouble.. I wrote this command: sed -ne 's/*\(\{2\}*\{2\}*\{2\}*\).*\(\{2\}*\{2\}*\{2\}*\).*/\1\2/p' and some of the output i get is : ->stockholm->paris<-stockholmpi<-tokyo->paris<-stockholmpi... (8 Replies)
Discussion started by: jozo95
8 Replies

15. Shell Programming and Scripting

Find Syllable count mismatch

Hello, I have written a syllable splitter for Pseudo English and Indic. I have a large database with the following structure Syllables in Pseudo English delimited by |=Syllables in Devanagari delimited by | The tool produces syllables in both scripts. An example is given below: ... (2 Replies)
Discussion started by: gimley
2 Replies