13 lines
		
	
	
		
			293 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			293 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
#!/bin/sh
 | 
						|
 | 
						|
if [ -x /usr/libexec/ntpdate-wrapper ]; then
 | 
						|
    /usr/libexec/ntpdate-wrapper
 | 
						|
elif [ -x /etc/init.d/ntpdate ]; then
 | 
						|
    /etc/init.d/ntpdate restart
 | 
						|
elif [ -x /usr/sbin/ntpdate ]; then
 | 
						|
    /usr/sbin/ntpdate pool.ntp.org
 | 
						|
else
 | 
						|
    echo "No ntpdate installed, giving up."
 | 
						|
    exit 1
 | 
						|
fi
 |