Sponsored Content
Full Discussion: AIX Boot Scripts
Operating Systems AIX AIX Boot Scripts Post 302445079 by rhfrommn on Friday 13th of August 2010 04:45:36 PM
Old 08-13-2010
Look at /etc/rc.d/init.d and /etc/rc?.d. Put your startup script in the init.d directory and link to it from the run level you want it to start at. Google AIX init.d for more info if you need it, tons of tutorials out there.
 

9 More Discussions You Might Find Interesting

1. AIX

AIX 4.3.3 boot error

We just got a machine with pre installed AIX 4.3.3. It's and oldish RS/6000 F80. When I power it on, the boot sequence advances finely, until it says Welcome to AIX, closing stdin and stdout, or something like that. From that point on the diagnostic display keeps counting the usual way for... (3 Replies)
Discussion started by: osee
3 Replies

2. UNIX for Dummies Questions & Answers

AIX scripts

Hi I need to schedule some tasks on AIX. At first I must copy files from folder on second AIX server to my primary server. This job schould be done in 1 hour intervals. I want to get only new files. Second script is needed for old files cleaning. It is necesary to delete files older than... (3 Replies)
Discussion started by: piooooter
3 Replies

3. UNIX for Dummies Questions & Answers

Boot scripts?

Hello, I am new to Solaris. I have installed a Solaris 10.0. As default its shell is sh (#) and I want to modify boot records of my Solaris. I want to run some shell scripts, change shell, change PATH environment and similiar things after boot automaticially. I don't know which files are read... (1 Reply)
Discussion started by: XNOR
1 Replies

4. AIX

AIX hangs on boot

Hi guys, Got a tiny bit of a problem on one of our servers here at work. I installed AIX 5.3 on the server and that went fine. Then I upgraded to ML 5300-05-01, but now the system just hangs on boot. The system starts up and the monitor comes on in few minutes, but a few seconds later when... (6 Replies)
Discussion started by: drchris
6 Replies

5. Ubuntu

system not booting after running local boot scripts

I have two systems in my computer . I update the ubuntu system these days and always interrupt it and exit the system . now the system cannot boot after Running local boot scripts(/etc/rc.local), it just stops there. i have to terminate the gnome display manager. what can i do with it ? thank... (0 Replies)
Discussion started by: tcb3210
0 Replies

6. AIX

AIX does not boot after power on

We have a RS6000, model B50, type 7046, where I installed AIX 4.3.3 But, if the power goes off, the operating system does not restart, and I have to go there and push the button to start AIX again. Is there any way this procedure to be avoided, this is, I want the AIX to start automatically... (9 Replies)
Discussion started by: sebastia.net
9 Replies

7. Solaris

Autorun shell scripts upon system boot up

Hello i searched in google and it seems i cannot find a detailed instruction on how to setup autorun-ing custom shell script upon boot up, someone kind enough to point me to a link? or a guide. We use Solaris 10. Basically my script just contains sending email when system bootup. (3 Replies)
Discussion started by: ryandegreat25
3 Replies

8. AIX

Can't boot AIX

Good afternoon there, One of my friend gave me an old IBM 44P Model 170 (I've planned to use it to learn AIX that I don't know at all) (I know a bit GNU/Linux (Debian, Archlinux, Red Hat, Slackware)). But, unfortunately, the computer doesn't start properly and I don't have any idea why ;(. ... (6 Replies)
Discussion started by: firstpost
6 Replies

9. Red Hat

Boot/Shutdown scripts

Server: Redhat 6.2 Goal: Startup script/Shutdown Script Overview: I'm just doing a very basic test. I'm not getting chkconfig involved. Research so far: I've found a few different ways of getting this to work, some say I can just drop the scripts in the corresponding rc directory. Others... (4 Replies)
Discussion started by: HayekSplosives1
4 Replies
cupsaddsmb(8)							    Apple Inc.							     cupsaddsmb(8)

NAME
cupsaddsmb - export printers to samba for windows clients SYNOPSIS
cupsaddsmb [ -H samba-server ] [ -U samba-user[%samba-password] ] [ -h cups-server[:port] ] [ -v ] -a cupsaddsmb [ -H samba-server ] [ -U samba-user[%samba-password] ] [ -h cups-server[:port] ] [ -v ] printer [ ... printer ] DESCRIPTION
The cupsaddsmb program exports printers to the SAMBA software (version 2.2.0 or higher) for use with Windows clients. Depending on the SAMBA configuration, you may need to provide a password to export the printers. This program requires the Windows printer driver files described below. SAMBA CONFIGURATION cupsaddsmb uses the RPC-based printing support in SAMBA to provide printer drivers and PPD files to Windows client machines. In order to use this functionality, you must first configure the SAMBA smb.conf(5) file to support printing through CUPS and provide a printer driver download share, as follows: [global] load printers = yes printing = cups printcap name = cups [printers] comment = All Printers path = /var/spool/samba browseable = no public = yes guest ok = yes writable = no printable = yes [print$] comment = Printer Drivers path = /etc/samba/drivers browseable = yes guest ok = no read only = yes write list = root This configuration assumes a FHS-compliant installation of SAMBA; adjust the [printers] and [print$] share paths accordingly on your system as needed. MICROSOFT POSTSCRIPT DRIVERS FOR WINDOWS The base driver for Windows 2000 and higher is the Microsoft PostScript driver, which is available on any system running Windows 2000 or higher in the %WINDIR%SYSTEM32SPOOLDRIVERSW32X863 folder for 32-bit drivers and %WINDIR%SYSTEM32SPOOLDRIVERSX643 folder for 64-bit drivers. Copy the 32-bit drivers to the /usr/share/cups/drivers directory and the 64-bit drivers to the /usr/share/cups/drivers/x64 directory exactly as named below: ps5ui.dll pscript.hlp pscript.ntf pscript5.dll Note: Unlike Windows, case is significant - make sure that you use the lowercase filenames shown above, otherwise cupsaddsmb will fail to export the drivers. OPTIONS
cupsaddsmb supports the following options: -H samba-server Specifies the SAMBA server which defaults to the CUPS server. -U samba-user[%samba-password] Specifies the SAMBA print admin username which defaults to your current username. If the username contains a percent (%) character, then the text following the percent is treated as the SAMBA password to use. -a Exports all known printers. Otherwise only the named printers are exported. -h cups-server[:port] Specifies a different CUPS server to use. -v Specifies that verbose information should be shown. This is useful for debugging SAMBA configuration problems. SEE ALSO
rpcclient(1), smbclient(1), smbd(8), smb.conf(5), CUPS Online Help (http://localhost:631/help) COPYRIGHT
Copyright (C) 2007-2017 by Apple Inc. 11 June 2014 CUPS cupsaddsmb(8)
All times are GMT -4. The time now is 11:33 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy