modem: use XDG_CONFIG_HOME to save logs
Signed-off-by: Miles Alan <m@milesalan.com>
This commit is contained in:
		
							parent
							
								
									66eeb46a55
								
							
						
					
					
						commit
						1b78c3cf2f
					
				
					 5 changed files with 10 additions and 6 deletions
				
			
		| 
						 | 
				
			
			@ -1,6 +1,6 @@
 | 
			
		|||
#!/usr/bin/env sh
 | 
			
		||||
PID=$$
 | 
			
		||||
LOGDIR=/home/$USER/.sxmo
 | 
			
		||||
LOGDIR="$XDG_CONFIG_HOME"/sxmo/modem
 | 
			
		||||
trap "kill 0" SIGINT
 | 
			
		||||
 | 
			
		||||
err() {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue