Page 1 of 1

autoexec isn't working

Posted: 21 Jul 2014, 20:02
by jesmith
I use porteus as the starting point for a kiosk O/S, and I'm trying to update from 2.0 to 3.0.

My startup scripts are in /usr/bin/start and I used to have this in my boot cfg file:

KERNEL /boot/vmlinuz
APPEND initrd=/boot/initrd.xz nomagic autoexec=/usr/bin/start

(I'm using an older version of syslinux that still wants the /boot in the paths, btw.)

That isn't working with the new version. I see the login screen for a sec, and then it seems to be going to run-level 4 (my stuff is not configured for run levels, so that fails miserably), and that /usr/bin/start script is never executed.

What should I be passing on the command line to run run a program, and skip all the run-level stuff.

Re: autoexec isn't working

Posted: 21 Jul 2014, 20:18
by donald
Hi jesmith
autoexec is outdated
The new cheatcodes are:

guiexec=my_script
guiexec=firefox;pidgin
Execute specified command(s) in runlevel 4, when the graphical interface is loaded

cliexec=my_script
cliexec=my_script;reboot
Execute specified command(s) in runlevel 3 (before logging in to a graphical interface).

Re: autoexec isn't working

Posted: 21 Jul 2014, 21:10
by fanthom
cheatcodes does not change that often anymore.
recent list - relevant to Porteus version you are using - can be always find in /boot/docs/cheatcodes.txt.

Re: autoexec isn't working

Posted: 22 Jul 2014, 16:44
by jesmith
Thanks! FYI, this is out of date:

http://www.porteus.org/tutorials/26-gen ... -them.html

-Joshua

Re: autoexec isn't working

Posted: 22 Jul 2014, 17:11
by fanthom
please read third and fourth lines.

Re: autoexec isn't working

Posted: 22 Jul 2014, 18:27
by jesmith
HAHAHAHAHAHA

OK, that's funny.

I just searched for autoexec. :)

Thanks.

-Joshua

Re: autoexec isn't working

Posted: 22 Jul 2014, 23:18
by brokenman
Updated now. Thanks.