12-20-2006
this is cause you don't need launch asterisk with sudo when you boot up your pc
cause in startup your id is 0 so only execute asterisk
in your boot.local put it
./way/to/asterisk
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Dears,
I m using SCO V and running 3 different aplications (has different logins) constantly on the server console in 3 different screens.
I want to develop a script which can start the programms on booting the systems. OR If automatic login can be configured on different screens will help me... (1 Reply)
Discussion started by: skant
1 Replies
2. UNIX for Advanced & Expert Users
Hi,
I have a program that check the IP address and automatic update it to the DNS server. I would like to run this program when the computer bootup after pppd get a connection. How do I add it to the init file. Does any one have any information of how to do it.
I run a Linux Mandrake as a... (1 Reply)
Discussion started by: vtran4270
1 Replies
3. Solaris
Hi
Inexplicably, nfsd no longer starts automatically on our Sun boxes running Solaris 9, so that 'automount' no longer functions automatically. The problem first manifested itself when we could not access files on any of the nfs automounted directories in our LAN after one of the servers (say... (19 Replies)
Discussion started by: dcshungu
19 Replies
4. SuSE
My apache and ftp server is working fine but when I reboot the system ftp and web server is not running automatically. Please advise on how to start apache and ftp at boot. (9 Replies)
Discussion started by: real-chess
9 Replies
5. HP-UX
When I get start program at boot
I read which run level
/sbin/rcx.d runlevel=0.....x
only read directory which directory name has UpperCase 'S'
is not enough
someone says that I need to reference another file
which file I need to reference
1)/etc/rc.config.d/all file which parameter... (4 Replies)
Discussion started by: alert0919
4 Replies
6. Red Hat
Hello,
I am facing some issues during boot process of rhel 6.2
It takes too long time (~10 min) for the node to come up...
The boot process stuck while it trying to start NFS and does not continue until timeout.
In the boot.log file i see
Starting NFS quotas: Cannot register service:... (2 Replies)
Discussion started by: @dagio
2 Replies
7. UNIX for Dummies Questions & Answers
Hello,
after webmin install, it was running, but after reboot, i need webmin to start automatically. I need this to be done without editting anything in webmin mysql (setting it from webmin admin area).
So i tried chkconfig webmin on and added startup script to rc.local but still dont works..... (1 Reply)
Discussion started by: postcd
1 Replies
8. Red Hat
Hello,
I have an issue with iptables. The rules are already configured in /etc/sysconfig/iptables but when i reboot the node the service is not running or at least i can't see my rules.
Below the configuration i did to start the service during boot.
# chkconfig --list iptables
iptables... (1 Reply)
Discussion started by: @dagio
1 Replies
9. UNIX for Beginners Questions & Answers
When I power ON my T4-1, I got a prompt -> where I have to start /SYS and start /SP/console. How can I auto supply these two commands ? (3 Replies)
Discussion started by: z_haseeb
3 Replies
LEARN ABOUT ULTRIX
xrmstringtoquarklist
XrmUniqueQuark(3X11) MIT X11R4 XrmUniqueQuark(3X11)
Name
XrmUniqueQuark, XrmStringToQuark, XrmQuarkToString, XrmStringToQuarkList, XrmStringToBindingQuarkList - manipulate resource quarks
Syntax
XrmQuark XrmUniqueQuark()
#define XrmStringToName(string) XrmStringToQuark(string) #define XrmStringToClass(string) XrmStringToQuark(string) #define XrmStringToRep-
resentation(string) XrmStringToQuark(string)
XrmQuark XrmStringToQuark(string)
char *string;
#define XrmNameToString(name) XrmQuarkToString(name) #define XrmClassToString(class) XrmQuarkToString(class) #define XrmRepresentation-
ToString(type) XrmQuarkToString(type)
char *XrmQuarkToString(quark)
XrmQuark quark;
#define XrmStringToNameList(str, name) XrmStringToQuarkList((str), (name)) #define XrmStringToClassList(str,class) XrmStringToQuark-
List((str), (class))
void XrmStringToQuarkList(string, quarks_return)
char *string;
XrmQuarkList quarks_return;
XrmStringToBindingQuarkList(string, bindings_return, quarks_return)
char *string;
XrmBindingList bindings_return;
XrmQuarkList quarks_return;
Arguments
bindings_return
Returns the binding list.
quark Specifies the quark for which the equivalent string is desired.
quarks_return
Returns the list of quarks.
string Specifies the string for which a quark is to be allocated.
Description
The function allocates a quark that is guaranteed not to represent any string that is known to the resource manager.
These functions can be used to convert to and from quark representations. The string pointed to by the return value must not be modified
or freed. If no string exists for that quark, returns NULL.
The function converts the specified resource quark representation back to a string.
The function converts the null-terminated string (generally a fully qualified name) to a list of quarks. Note that the string must be in
the valid ResourceName format. The components of the string are separated by a period or asterisk character.
A binding list is a list of type and indicates if components of name or class lists are bound tightly or loosely (that is, if wildcarding
of intermediate components is specified).
typedef enum {XrmBindTightly, XrmBindLoosely} XrmBinding,
*XrmBindingList;
indicates that a period separates the components, and indicates that an asterisk separates the components.
The function converts the specified string to a binding list and a quark list. Component names in the list are separated by a period or an
asterisk character. If the string does not start with period or asterisk, a period is assumed. For example, ``*a.b*c'' becomes:
quarks a b c
bindings loose tightloose
See Also
XrmGetResource(3X11), XrmInitialize(3X11), XrmMergeDatabases(3X11), XrmPutResource(3X11)
X Window System: The Complete Reference, Second Edition, Robert W. Scheifler and James Gettys
XrmUniqueQuark(3X11)