Sponsored Content
Operating Systems OS X (Apple) How to execute a command when system boots? Post 302508267 by telemachus on Sunday 27th of March 2011 10:26:54 AM
Old 03-27-2011
In general, you want to use launchd to create startup items in OSX.

See here (link obfuscated since I'm too new to post links): ttp://developer.apple.com/library/mac/#documentation/Darwin/Reference/ManPages/man8/launchd.8.html
 

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

AIX 433 boots into command line.

Hi All, I have an AIX 433 workstation that keeps booting into command mode. It was booting into CDE for a long time now. Suddenly now it boots into command line mode. No errors while booting up. Do not see anything in errpt. Don' t know where to start from.. Can any one please help me..thanks. ... (2 Replies)
Discussion started by: navinxavier
2 Replies

2. AIX

Execute a command at the system restart

Hi Folks, I have an AIX server and I would like the server to run the command saprouter -r at every system restarts. It needs to be run by a specific user. How would I do that? Thanks!!! (1 Reply)
Discussion started by: brookingsd
1 Replies

3. UNIX for Advanced & Expert Users

How to remotely execute a script (.COM ) on a VMS system ?

How to remotely execute a script (.COM ) on a VMS system ? rsh ? Thanks in advance (1 Reply)
Discussion started by: ivancleber
1 Replies

4. Programming

c++ : Use of System() to execute .exe with parameters

Hello, I 've trie to execute a a program with parameters unsuccessfully and i take the above message : "The system cannot find the path specified." I used a variaton of the above command : system("\"C:\\xxx\\xxx\\xxx.exe -xxx -xxx xxx.xxx xxx.xxx xxx.xxx\""); Thanks in advance (4 Replies)
Discussion started by: eusta
4 Replies

5. Shell Programming and Scripting

How to execute piped command using exec or system

Hi All, I want to execute a piped command like 'ls /opt | grep xml' using array as parameters list. How can I do that? (2 Replies)
Discussion started by: bharadiaam
2 Replies

6. Shell Programming and Scripting

Execute shell script in different system

Hi, I have a shell script in systemA and another shell script in systemB. when I execute the script in systemA, it should call the another script in systemB. Please tell me the way to do this. Thanks, Raja. (3 Replies)
Discussion started by: smr_rashmy
3 Replies

7. Ubuntu

execute command when Ubuntu boots up ?

hey all,, I want to add comments when Ubuntu starts up.. now I know that there is a directory called /etc/init.d which I can place my scripts there to run them at Ubuntu's startup.. but I prefer if there would be a file which runs when Ubuntu starts!! because it is only one command. not... (2 Replies)
Discussion started by: eawedat
2 Replies

8. Solaris

Solaris 10 system boots into Maintenance mode

I have seen similar threads on this issue, but I have not seen a fix. Basically I am getting a lot of rcp bind errors. Below find the output of "svcs -xv". not sure where to begin: # svcs -xv svc:/network/rpc/bind:default (RPC bindings) State: maintenance since Fri May 25 14:13:18 2012... (14 Replies)
Discussion started by: brownwrap
14 Replies

9. Red Hat

Systemd booting and execute system command is Not successful!help!

hi guys, booting centos7 and use systemd execute system command ulimit -SHn 202400 is fail.i dont know what's reason.can you give me help. ------------------------------------------ set-ulimit.service Description=test service After=systemd-update-utmp-runlevel.service #the last... (1 Reply)
Discussion started by: shean
1 Replies
sys_attrs_bparm(5)						File Formats Manual						sys_attrs_bparm(5)

NAME
sys_attrs_bparm - bparm subsystem attributes DESCRIPTION
This reference page lists and describes attributes for the Boot Parameters (bparm) kernel subsystem. Refer to the sys_attrs(5) reference page for an introduction to the topic of kernel subsystem attributes. Identifies the device from which the system was last booted. This attribute corresponds to the console firmware environment vari- able with the same name. Do not modify this value, which is set when the system boots. A combination of flags that controls the boot loader and kernel. This attribute corresponds to the console firmware environment variable with the same name. Values for the variable are: Boot to multiuser mode. By default, the kernel boots to single-user mode. Enable the kdebug debugger to debug the kernel. By default, kdebug is not enabled in the kernel. Produce full dumps when the system crashes. By default, partial dumps are produced. Prompt for an alternate kernel and special arguments when the system is booted. By default, no questions are asked. Set boot_osflags only at the console prompt or by using the consvar utility. Identifies the boot device to be used when one is not included in the boot command line. This attribute corresponds to the console firmware environment variable with the same name. Set bootdef_dev only at the console prompt or by using the consvar utility. SEE ALSO
Commands: consvar(8) Others: sys_attrs(5) System Administration sys_attrs_bparm(5)
All times are GMT -4. The time now is 04:21 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy