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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)