ltq-vdsl-app: make the dsl_control application stop cleanly
I am not calling dsl_cmd because I want to ignore the lock, quit should also be send when someone else is accessing it. I saw that some other call was stuck here and all following calls were stuck in the dsl_cmd lock. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 48943
This commit is contained in:
		@@ -220,6 +220,8 @@ start_service() {
 | 
				
			|||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
stop_service() {
 | 
					stop_service() {
 | 
				
			||||||
 | 
						# do not use dsl_cmd to not block when this is locked up by some other proess
 | 
				
			||||||
 | 
						echo quit > /tmp/pipe/dsl_cpe0_cmd
 | 
				
			||||||
	DSL_NOTIFICATION_TYPE="DSL_INTERFACE_STATUS" \
 | 
						DSL_NOTIFICATION_TYPE="DSL_INTERFACE_STATUS" \
 | 
				
			||||||
	DSL_INTERFACE_STATUS="DOWN" \
 | 
						DSL_INTERFACE_STATUS="DOWN" \
 | 
				
			||||||
		/sbin/dsl_notify.sh
 | 
							/sbin/dsl_notify.sh
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user