Results 1 to 6 of 6

Thread: is there a startup script location?

  1. #1
    Junior Member
    Join Date
    Jan 2010
    Posts
    33

    Default is there a startup script location?

    How can I have a startup script execute automatically when backtrack boots from USB drive? (similar to how knoppix.sh executes automatically if the file is found on any mounted partition.)

    I see that /etc/rc.d is unaccessible from the USB filesystem.

  2. #2
    Member xX_Spiidey_Xx's Avatar
    Join Date
    Jan 2010
    Location
    /dev/urandom
    Posts
    256

    Default Re: is there a startup script location?

    the first question you must answer is _how_ are you booting?
    thou shalt treat all computers as thou wouldst treat thyself, for thou art the creator of thine own problems.

  3. #3
    Junior Member
    Join Date
    Jan 2010
    Posts
    33

    Default Re: is there a startup script location?

    I'm booting backtrack 3 off a USB stick.

  4. #4
    Member xX_Spiidey_Xx's Avatar
    Join Date
    Jan 2010
    Location
    /dev/urandom
    Posts
    256

    Default Re: is there a startup script location?

    this is where the fun stops. BT3 is not supported any longer. Upgrade to BT4 Final and let us know what goes on when you add a script to /etc/rc#.d

    Also to note, is that if you're running BT4 live off a USB, it's not going to work for you - it's live. Persistent or HDD install is what will work for you.
    thou shalt treat all computers as thou wouldst treat thyself, for thou art the creator of thine own problems.

  5. #5
    My life is this forum thorin's Avatar
    Join Date
    Jan 2010
    Posts
    2,629

    Default Re: is there a startup script location?

    Quote Originally Posted by xX_Spiidey_Xx View Post
    Upgrade to BT4 Final and let us know what goes on when you add a script to /etc/rc#.d

    Also to note, is that if you're running BT4 live off a USB, it's not going to work for you - it's live. Persistent or HDD install is what will work for you.
    Actually if using BT4 I'm pretty sure all start/stop scripts are meant to go into /etc/init.d and then you're supposed to use update-rc.d to symlink them to the relevant rc#.d directories.
    Last edited by thorin; 03-08-2010 at 04:24 PM.
    I'm a compulsive post editor, you might wanna wait until my post has been online for 5-10 mins before quoting it as it will likely change.

    I know I seem harsh in some of my replies. SORRY! But if you're doing something illegal or posting something that seems to be obvious BS I'm going to call you on it.

  6. #6
    Member xX_Spiidey_Xx's Avatar
    Join Date
    Jan 2010
    Location
    /dev/urandom
    Posts
    256

    Default Re: is there a startup script location?

    You are correct. By adding a script to rc#.d, I meant symlinking (ln -s); because I'm a control freak, I keep all my scripts in a central repo, and symlink them into the runlevels I need them in.
    thou shalt treat all computers as thou wouldst treat thyself, for thou art the creator of thine own problems.

Similar Threads

  1. BackTrack 2 Final Download Location
    By binaryblack in forum Beginners Forum
    Replies: 8
    Last Post: 08-31-2010, 02:21 PM
  2. Many windows at startup (BT4)
    By Daffy82 in forum Beginners Forum
    Replies: 2
    Last Post: 02-24-2010, 05:09 PM
  3. Backtrack 4 hang at startup
    By monster in forum BackTrack Bugs
    Replies: 4
    Last Post: 02-24-2010, 12:55 PM
  4. Location of Openvaaas
    By ny101880 in forum Beginners Forum
    Replies: 2
    Last Post: 02-04-2010, 12:36 AM
  5. Backtrack 4 stop running at startup
    By monster in forum Beginners Forum
    Replies: 1
    Last Post: 01-29-2010, 10:41 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •