The Notebook Review forums were hosted by TechTarget, who shut down them down on January 31, 2022. This static read-only archive was pulled by NBR forum users between January 20 and January 31, 2022, in an effort to make sure that the valuable technical information that had been posted on the forums is preserved. For current discussions, many NBR forum users moved over to NotebookTalk.net after the shutdown.
Problems? See this thread at archive.org.

    Terminal Script to run on bootup

    Discussion in 'Apple and Mac OS X' started by masterchef341, Apr 26, 2008.

  1. masterchef341

    masterchef341 The guy from The Notebook

    Reputations:
    3,047
    Messages:
    8,636
    Likes Received:
    4
    Trophy Points:
    206
    I just want a script that will enter the terminal command:

    sudo ifconfig en1 lladdr 00:00:00:00:00:00

    on bootup, preferably without me actually seeing the terminal window every time.
     
  2. Greg

    Greg Notebook Nobel Laureate

    Reputations:
    7,857
    Messages:
    16,212
    Likes Received:
    58
    Trophy Points:
    466
    Why?...it looks like you are trying to set up your MAC address???
     
  3. masterchef341

    masterchef341 The guy from The Notebook

    Reputations:
    3,047
    Messages:
    8,636
    Likes Received:
    4
    Trophy Points:
    206
    yes. i just want it to happen automatically every time i start up instead of having to do it manually.
     
  4. Budding

    Budding Notebook Virtuoso

    Reputations:
    1,686
    Messages:
    3,982
    Likes Received:
    0
    Trophy Points:
    105
    Put the line in a text document (save it with .command extension). <strike>You then have to write an automator script that executes the shell script</strike> You then have to set permissions for it via Terminal with the chmod command (set it to 755 or 777 for full access by everyone), and then add it to Login Items in System Pref>Accounts.