sswam
Advanced Member
hi, I want to run a certain command each time the Pandora boots up.
And I want to make an installer PND, which causes that command to be run at boot.
Where's the best place to put my boot-time command or script?
At the moment on my own Pandora, I'm adding a new little script in /etc/rc5.d/
Is there another place that would be better?
The script I want to run in this case is a binfmt hack to make .pnd files directly executable, something like this:
mount -t binfmt_misc none /proc/sys/fs/binfmt_misc
echo ":squashPND:M::hsqs::/usr/bin/pnd_run:" >/proc/sys/fs/binfmt_misc/register
				
			And I want to make an installer PND, which causes that command to be run at boot.
Where's the best place to put my boot-time command or script?
At the moment on my own Pandora, I'm adding a new little script in /etc/rc5.d/
Is there another place that would be better?
The script I want to run in this case is a binfmt hack to make .pnd files directly executable, something like this:
mount -t binfmt_misc none /proc/sys/fs/binfmt_misc
echo ":squashPND:M::hsqs::/usr/bin/pnd_run:" >/proc/sys/fs/binfmt_misc/register
			
				Last edited by a moderator: 
			
		
	
								
								
									
	
								
							
							 
	
 
 
		 
 
		 
 
		 
 
		 
 
		 
 
		 
 
		