Sponsored Content
Full Discussion: Pass params with Udev
Top Forums Shell Programming and Scripting Pass params with Udev Post 302466090 by al0x on Monday 25th of October 2010 11:52:19 AM
Old 10-25-2010
I always wrote the full path but for some reason passing paramaeters didn't work before ôo
But works flawless now Smilie Thanks!
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

evaluating params

Hi all, I ve a script like.... TBL=employee sql=`cat abhi.sql` \\ abhi.sql contains ------- select a from $TBL echo $TBL echo $sql SQL=`echo $sql` echo $SQL now i want SQL as select a from employee and as select a from $TBL How can I achieve this? Help appriciated (3 Replies)
Discussion started by: abzi
3 Replies

2. Linux

udev core 5

installed fedora core 5 on a pc with USB and some usual things. in boot up it is stopped at "Starting udev:". Its harddisk light is busy. is it reconfiguring the kernel?. what do to solve this problem?. (0 Replies)
Discussion started by: GJ2
0 Replies

3. Shell Programming and Scripting

script takes params

i want to write a shell script that can be run as ./deployPortal.sh -version 5.1.2 -portlet -exportall how can i do that? version param is required. bu the others are optional. in first step i only want to read 5.1.2, is portlet selected ? and is exportall selected ?? can you... (2 Replies)
Discussion started by: keromotti
2 Replies

4. Solaris

Solaris 10 kernel Params, Set/Get?

I am experienced with Solaris 8 where this type of thing was handled from /etc/system but now I have a Solaris 10 server and I am having trouble determining how to interact with the kernel parameters. I need to know how to check the values of the following, of the DB people I work with. MAX... (8 Replies)
Discussion started by: NewSolarisAdmin
8 Replies

5. Shell Programming and Scripting

Does awk ever resolve params ?..

Hi, Does awk ever resolve params in the search pattern?.. The following awk doesnt know how to resolve ${tables}$ inside a loop. k=`awk '/${tables}$/ ${graph}` The search pattern has ${tables}$ and I am narrowing down my search with a $ at the end of string. So...this leaves me with a... (13 Replies)
Discussion started by: anduzzi
13 Replies

6. Shell Programming and Scripting

Check params for number

I have 2 and three params, both I should make sure thay numbers at one single line insted of checking for each one . Example I wroote the following way.. checking for 2 and three seperately but I shud be able to do it at on statement echo $2 | egrep '^+$' >/dev/null 2>&1 if ; then echo... (2 Replies)
Discussion started by: raopatwari
2 Replies

7. Shell Programming and Scripting

udev rules for mounting CDROM

Hi All, I need a simple udev rules in my server Centos 5.4. This rules needs to get trigger my script whenever the cdrom is attached to the server. Could you please provide your suggestion on it. Thanks, Kalai (0 Replies)
Discussion started by: kalpeer
0 Replies

8. UNIX for Dummies Questions & Answers

Question about udev Rules File?

Hello All, I found this site here: AndDiSa Android Blog: Nexus 7 MTP automount on OpenSuse 11.4 That sites explains how to mount an Android device that can only connect to a computer using MTP or PTP instead of what it used to get treated as, which was a Mass Storage Device. In my Rules... (0 Replies)
Discussion started by: mrm5102
0 Replies

9. Shell Programming and Scripting

Passing vars or params to function

How to pass the getopts processed variable "${@}" to a function? It contains a list of package names needed in various functions. Seems the issue I have is due to the order of the script, with the processed "${@}" falling after the unprossed "${@}". I've been manually parsing options in the... (3 Replies)
Discussion started by: Cody Learner
3 Replies
upstart-udev-bridge(8)					      System Manager's Manual					    upstart-udev-bridge(8)

NAME
upstart-udev-bridge - Bridge between Upstart and udev SYNOPSIS
upstart-udev-bridge [OPTIONS]... DESCRIPTION
upstart-udev-bridge receives information about kernel uevents that udev(8) has completed and creates init(8) events for them. It emits events which match the pattern "S-device-A" where 'S' is the udev subsystem and 'A' is one of added, changed or removed, which correspond to the past tense of the udev 'action'. See udev(7) and for further details. Assuming /sys is mounted, possible values for subsystem for your system are viewable via /sys/class/. OPTIONS
--daemon Detach and run in the background. --debug Enable debugging output. --help Show brief usage summary. --no-strip Do not modify udev message contents. By default, all udev data will have non-printable bytes removed. This option reverts the behav- iour to not modifying the data in any way. This option is not recommended since specifying it could result in udev(7) events not being emitted as Upstart events should any of your hardware expose non-printable characters to the kernel. You can establish whether this is happening by running without specifying this option but with the --debug option. --verbose Enable verbose output. EXAMPLES
Some examples of Upstart events generated by this bridge: net-device-added Event emitted when a network device is added. net-device-removed Event emitted when a network device is removed. graphics-card-added Event emitted when a graphics device is available to the system. NOTES
This is a temporary tool until init(8) itself gains the functionality to read them directly; you should not rely on its behaviour. AUTHOR
Written by Scott James Remnant <scott@netsplit.com> BUGS
Report bugs at <https://launchpad.net/ubuntu/+source/upstart/+bugs> COPYRIGHT
Copyright (C) 2009,2010,2011 Canonical Ltd. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICU- LAR PURPOSE. SEE ALSO
init(5) init(8) udev(7) upstart 2011-03-08 upstart-udev-bridge(8)
All times are GMT -4. The time now is 08:27 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy