Results 1 to 5 of 5

Thread: Making something load on Bootup?

  1. #1
    Join Date
    Dec 2010
    Beans
    23

    Making something load on Bootup?

    Ok how the heck to make this machine load my unreal server on bootup??

    /home/user/Unreal3.2/./unreal start

  2. #2
    Join Date
    Nov 2008
    Location
    Metro Boston
    Beans
    10,094
    Distro
    Kubuntu 14.04 Trusty Tahr

    Re: Making something load on Bootup?

    Put the command in /etc/rc.local which is the last script run at boot. You'll need to edit it with sudo.

  3. #3
    Join Date
    Dec 2010
    Beans
    23

    Re: Making something load on Bootup?

    I tried the following and it doesnt work


    #!/bin/sh -e
    #
    # rc.local
    #
    # This script is executed at the end of each multiuser runlevel.
    # Make sure that the script will "exit 0" on success or any other
    # value on error.
    #
    # In order to enable or disable this script just change the execution
    # bits.
    #
    # By default this script does nothing.
    su -c /home/fixjack/Unreal3.2/./unreal start



    exit 0

  4. #4
    Join Date
    Jan 2010
    Location
    Portugal
    Beans
    160
    Distro
    Ubuntu Development Release

    Re: Making something load on Bootup?

    what he means is that you need to edit the file with sudo.
    $sudo nano /etc/rc.local
    remove the "su -c" from the line you added.
    Javali
    Administração e Desenvolvimento de Sistemas Informáticos, Lda.
    Open Source Systems / SugarCRM / Alfresco / Drupal / Openbravo
    http://www.javali.pt info at javali.pt

  5. #5
    Join Date
    Dec 2010
    Beans
    23

    Re: Making something load on Bootup?

    bah its ok, I used crontab instead, and that works

Tags for this Thread

Bookmarks

Posting Permissions

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