mirror of https://github.com/OpenIPC/firmware.git
				
				
				
			
		
			
				
	
	
		
			32 lines
		
	
	
		
			508 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
			
		
		
	
	
			32 lines
		
	
	
		
			508 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
| #!/bin/sh
 | |
| 
 | |
| finish() {
 | |
| 	touch /etc/system.ok
 | |
| 	echo "Restart system to apply fpv changes..."
 | |
| 	reboot
 | |
| }
 | |
| 
 | |
| sigmastar() {
 | |
| 	cli -s .isp.sensorConfig /etc/sensors/imx415_fpv.bin
 | |
| 	cli -s .isp.exposure 5
 | |
| 	cli -s .video0.codec h265
 | |
| 	cli -s .video0.size 1920x1080
 | |
| 	cli -s .video0.fps 90
 | |
| 	cli -s .video0.rcMode cbr
 | |
| 	cli -s .jpeg.enabled false
 | |
| 	cli -s .outgoing.enabled true
 | |
| 	cli -s .outgoing.server udp://0.0.0.0:5600
 | |
| }
 | |
| 
 | |
| case "$1" in
 | |
| 	ssc33x)
 | |
| 		sigmastar
 | |
| 		finish
 | |
| 		;;
 | |
| 
 | |
| 	*)
 | |
| 		echo "Usage: $0 {ssc33x}"
 | |
| 		exit 1
 | |
| 		;;
 | |
| esac
 |