Jump to content
  • Sky
  • Blueberry
  • Slate
  • Blackcurrant
  • Watermelon
  • Strawberry
  • Orange
  • Banana
  • Apple
  • Emerald
  • Chocolate
  • Charcoal
  • 0
T0biasCZe

Autorun file <soluted>

Question

hello. i have password lock on my computer and i want to run it automaticaly. i looked to internet and i find some about autorun.lua file (HERE) and i create the file, edit /autorun.lua  and writed this to it : os.execute(/home/door) (i have file named "door")

i save it and reboot the OS and for 0.3second there is some red text and after it it goes normaly to /home/ menu
i edited the code to os.execute(/home/door.lua) and there is still the same red text and it goes again to /home menu.

what i am doing wrong ?

edit: i recorded the error and slowed down it in sony vegas and looked to error and i have missing quotes :D

Share this post


Link to post
Share on other sites

1 answer to this question

Recommended Posts

  • 0

1) yes. The quotes.

2) autorun isn't depricated ( I don't think..) but you might like the .shrc format better.

Run 'edit .shrc' in the home dir and add the path to the file you want to run on the first available line. It's super simple and can have multiple programs to run on startup. Also programs can take shell args just like typing it in yourself.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.