Operating System - HP-UX
1832936 Members
3006 Online
110048 Solutions
New Discussion

Re: Shell script to start a "bo lan....."

 
SOLVED
Go to solution
Lionel GARCIA_1
Occasional Contributor

Shell script to start a "bo lan....."

Hi,
I would like to create a shell script in order to launch :
(1) reboot
(2) bo lan.124.66.11.5 install

It's for Hp 11iv1 workstation

Thanks
7 REPLIES 7
Rick Garland
Honored Contributor

Re: Shell script to start a "bo lan....."

For the reboot, you can just issue the "shutdown -r -y now" command from CLI or put it in an executable - it could be just 2/3 lines.
#!/bin/ksh
cd /
/usr/sbin/shutdown -r -y now

For installing the LAN, if not already installing as part of the boot process, put it in there.
Lionel GARCIA_1
Occasional Contributor

Re: Shell script to start a "bo lan....."

Thanks but i don't understand what you mean by

"For installing the LAN, if not already installing as part of the boot process, put it in there."


Rick Garland
Honored Contributor

Re: Shell script to start a "bo lan....."

The /sbin/init.d scripts to automatically start/stop services.
Michael Steele_2
Honored Contributor
Solution

Re: Shell script to start a "bo lan....."

Hi

You want to do an automatic pull operation and ignite servers aren't set up for pull operations where the procedure starts at the client. They are however set up for push operations and you would use

bootsys -a -v client_hostname

from the ignite server.

Refer to Chapter 7, pages 150 - 151 of the Ignite manual attached. Or, if you can't read the attachment, you can find it

www.docs.hp.com/en/IUX/
Support Fatherhood - Stop Family Law
Michael Steele_2
Honored Contributor

Re: Shell script to start a "bo lan....."

Hi

The attachment was too big, try this link

http://docs.hp.com/en/5992-6584/index.html
Support Fatherhood - Stop Family Law
Lionel GARCIA_1
Occasional Contributor

Re: Shell script to start a "bo lan....."

Thanks a lot Michael
It's for what I looked
Scot Bean
Honored Contributor

Re: Shell script to start a "bo lan....."

FYI:

Ignite can do "pull" bootsys.

Run 'bootsys -c ' from the client/target.