Sponsored Content
Full Discussion: Startup script and services
Operating Systems AIX Startup script and services Post 302365546 by dplinux on Tuesday 27th of October 2009 10:57:41 AM
Old 10-27-2009
insert Line in inittab

use mkitab command
or
go to /etc/inittab and look at the sample lines

you can also put it in /etc/profile...it depends on the content of the file...
 

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Startup script

New in Unix, I am adding a line "route add 57.14.y.y 57.14.x.x" every day after rebooting the system. Where can I add the line so during boot up (the system is re-started every day by design (???) the line is executed? (I tried the /etc/rc2.d/S90 but for some reason the line needs to be added... (2 Replies)
Discussion started by: texaspanama
2 Replies

2. SuSE

start services during the startup

I'm trying to add services to start services automatically during the system start up in suse linux. I followed these steps.. chkconfig servicename on and created symbolic link at /etc/rc.d/rc3.d/ folder with name S80servicename. here is the command I used ln -s /etc/init.d/servicename... (8 Replies)
Discussion started by: s_linux
8 Replies

3. UNIX for Dummies Questions & Answers

Startup Script Somewhere ?

Hello there! I need help. Everytime I login to my ssh, i see this: -bash: .export: command not found -bash: .export: command not found -bash: .export: command not found -bash: .export: command not found any help ? thanks (0 Replies)
Discussion started by: fbauto1
0 Replies

4. UNIX for Dummies Questions & Answers

run a script at startup

hi, i am using rhel 5, and i wanna run a script as soon as the operating system open. How can i do this ? ( i was reading rc.d files but i could not understand exactly what are the run levels and where should i put the my shell script. my script will be : #!/bin/ksh iptables -I INPUT... (1 Reply)
Discussion started by: futi
1 Replies

5. AIX

startup script

Hi I need the below script to be started whenever I reboot my aix server ? #cat cdbegin /cdirect/cdunix/ndm/bin/cdpmgr -i /cdirect/cdunix/ndm/cfg/cbspsdb01/initparm.cfg Please suggest how to add this to the startup ? (2 Replies)
Discussion started by: samsungsamsung
2 Replies

6. Red Hat

Restart of services if port no is changed in /etc/services in RHEL

I had a doubt if any services need to be restarted if port no in /etc/services in an RHEL setup is changed. For eg, the port no of 443 for SSL may need to be changed. I hope my query is clear whether any services need to be restarted if port no in /etc/services is changed. Please revert with... (10 Replies)
Discussion started by: RHCE
10 Replies

7. Shell Programming and Scripting

Script to Start services based on dependent services on other AIX machine

Hi, I just started working on a script. After my research, i found a command which can help me: AIM: To build a script which starts the services (Services 1) on server 1 automatically whenever its down. And it has a dependency on other service (Service 2) on Server 2. So my script has to... (4 Replies)
Discussion started by: draghun9
4 Replies

8. Shell Programming and Scripting

Apache tomcat startup script not booting at startup.

I copied the script from an AskUbuntu post - #!/bin/bash ### BEGIN INIT INFO # Provides: tomcat7 # Required-Start: $network # Required-Stop: $network # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: Start/Stop Tomcat server ### END INIT INFO ... (14 Replies)
Discussion started by: Hijanoqu
14 Replies

9. Shell Programming and Scripting

Startup script

I can't quite find a clear answer on how to properly write a start up script. Does anybody have any ideas?? (3 Replies)
Discussion started by: Huitzilopochtli
3 Replies
dpkg-checkbuilddeps(1)						    dpkg suite						    dpkg-checkbuilddeps(1)

NAME
       dpkg-checkbuilddeps - check build dependencies and conflicts

SYNOPSIS
       dpkg-checkbuilddeps [option...]	[control-file]

DESCRIPTION
       This  program checks the installed packages in the system against the build dependencies and build conflicts listed in the control file. If
       any are not met, it displays them and exits with a nonzero return code.

       By default, debian/control is read, but an alternate control filename may be specified on the command line.

OPTIONS
       --admindir=dir
	      Change the location of the dpkg database (since dpkg 1.14.0).  The default location is /var/lib/dpkg.

       -A     Ignore Build-Depends-Arch and Build-Conflicts-Arch lines (since dpkg 1.16.4).  Use when only arch-indep packages will be	built,	or
	      combine with -B when only a source package is to be built.

       -B     Ignore  Build-Depends-Indep  and Build-Conflicts-Indep lines. Use when only arch-dep packages will be built, or combine with -A when
	      only a source package is to be built.

       -I     Ignore built-in build depends and conflicts (since dpkg 1.18.2).	These are implicit dependencies that are  usually  required  on  a
	      specific distribution, the so called Build-Essential package set.

       -d build-depends-string

       -c build-conflicts-string
	      Use the given build dependencies/conflicts instead of those contained in the debian/control file (since dpkg 1.14.17).

       -a arch
	      Check  build  dependencies/conflicts  assuming  that  the  package  described  in the control file is to be built for the given host
	      architecture instead of the architecture of the current system (since dpkg 1.16.2).

       -P profile[,...]
	      Check build dependencies/conflicts assuming that the package described in the control file is  to  be  built  for  the  given  build
	      profile(s) (since dpkg 1.17.2).  The argument is a comma-separated list of profile names.

       -?, --help
	      Show the usage message and exit.

       --version
	      Show the version and exit.

ENVIRONMENT
       DEB_BUILD_PROFILES
	      If  set,	it will be used as the active build profile(s) for the package being built. It is a space separated list of profile names.
	      Overridden by the -P option.

1.19.0.5							    2018-04-16						    dpkg-checkbuilddeps(1)
All times are GMT -4. The time now is 11:14 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy