* Use iftop to collect network bandwidth usage * fix shellcheck * more shellchecks * review comments
		
			
				
	
	
		
			11 lines
		
	
	
		
			145 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			145 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
#!/usr/bin/env bash
 | 
						|
#
 | 
						|
# Rsync setup
 | 
						|
#
 | 
						|
set -ex
 | 
						|
 | 
						|
[[ $(uname) = Linux ]] || exit 1
 | 
						|
[[ $USER = root ]] || exit 1
 | 
						|
 | 
						|
apt-get --assume-yes install iftop
 |