• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Change IP Address & Restart
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Change IP Address & Restart


  • Subject: Change IP Address & Restart
  • From: "Charles McLaughlin" <email@hidden>
  • Date: Fri, 18 Jan 2002 21:01:19 -0800

Hello,

I am writing a script for use with Apple Software Restore to automate the
process of refreshing computer lab machines. My two questions pertain to
setting the IP address and computer name and scripting a restart/shut down.

I would like to change the IP address and computer name of a system while
booted off a different startup disk. For instance, I will boot off "Hard
Drive 1" and want to change the IP address and computer name of the system
on "Hard Drive 2". I am guessing that the IP address and computer name are
stored in preference files. Is it possible to edit these files with a
script?

Also, I was wondering if a script in the "Shutdown Items" folder can detect
whether a user attempted to shutdown or restart the computer? I've noticed
that shutdown scripts with tell statements cause to the system to not
restart/shutdown. I would like to construct a condition to work around
this. For instance, if the user attempted to restart, then the script would
do some stuff and restart. Or... if the user attempted to shutdown, then
the script would do some stuff and shutdown.

(Quicksilver G4's running OS 9.2)

Thanks,
Charles


  • Follow-Ups:
    • Re: Change IP Address & Restart
      • From: Tod Hallberg <email@hidden>
  • Prev by Date: Re: Archiving large folders to CD
  • Next by Date: Re: crunchy crashy errors
  • Previous by thread: TableSearchServices updated
  • Next by thread: Re: Change IP Address & Restart
  • Index(es):
    • Date
    • Thread