mirror of
				https://github.com/Ysurac/openmptcprouter-feeds.git
				synced 2025-03-09 15:40:03 +00:00 
			
		
		
		
	Put vnstat backup cron in a vnstat file
This commit is contained in:
		
							parent
							
								
									e362bc1add
								
							
						
					
					
						commit
						df9d3fcc15
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -29,6 +29,7 @@ if [ "$(uci -q get openmptcprouter.latest_versions)" = "" ]; then
 | 
			
		|||
	fi
 | 
			
		||||
fi
 | 
			
		||||
rm -f /tmp/luci-indexcache
 | 
			
		||||
echo '0 */2 * * * /etc/init.d/vnstat_backup backup' > /etc/crontabs/root
 | 
			
		||||
rm -f /etc/crontabs/vnstat
 | 
			
		||||
echo '0 */2 * * * /etc/init.d/vnstat_backup backup' > /etc/crontabs/vnstat
 | 
			
		||||
 | 
			
		||||
exit 0
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue