View Full Version : [ubuntu] Making something load on Bootup?
December 23rd, 2010, 02:16 AM
Ok how the heck to make this machine load my unreal server on bootup??
December 23rd, 2010, 02:32 AM
Put the command in /etc/rc.local which is the last script run at boot. You'll need to edit it with sudo.
December 23rd, 2010, 03:24 AM
I tried the following and it doesnt work
# 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
# By default this script does nothing.
su -c /home/fixjack/Unreal3.2/./unreal start
December 23rd, 2010, 01:25 PM
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.
December 24th, 2010, 05:11 AM
bah its ok, I used crontab instead, and that works
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.