mirror of
				https://github.com/Ysurac/openmptcprouter-feeds.git
				synced 2025-03-09 15:40:03 +00:00 
			
		
		
		
	Dirty script to always mount FS as RW
This commit is contained in:
		
							parent
							
								
									c5889009cb
								
							
						
					
					
						commit
						f7179d5455
					
				
					 1 changed files with 7 additions and 0 deletions
				
			
		
							
								
								
									
										7
									
								
								openmptcprouter/files/etc/init.d/alwaysrw
									
										
									
									
									
										Executable file
									
								
							
							
						
						
									
										7
									
								
								openmptcprouter/files/etc/init.d/alwaysrw
									
										
									
									
									
										Executable file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,7 @@
 | 
			
		|||
#!/bin/sh /etc/rc.common
 | 
			
		||||
 | 
			
		||||
START=10
 | 
			
		||||
 | 
			
		||||
boot() {
 | 
			
		||||
	[ "$(mount | grep '/dev/root' | grep 'ext4' | grep '(ro')" != "" ] && mount -o remount,rw /dev/root
 | 
			
		||||
}
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue