File tree Expand file tree Collapse file tree 2 files changed +14
-0
lines changed
Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -281,6 +281,13 @@ apt-get -qq update
281281# Creating backup directory
282282mkdir -p $hst_backups
283283
284+ # Checking ntpdate
285+ if [ ! -e ' /usr/sbin/ntpdate' ]; then
286+ echo " Install missing ntpdate..."
287+ apt-get -y install ntpdate >> $LOG
288+ check_result $? " Can't install ntpdate"
289+ fi
290+
284291# Checking wget
285292if [ ! -e ' /usr/bin/wget' ]; then
286293 echo " Install missing wget..."
Original file line number Diff line number Diff line change @@ -266,6 +266,13 @@ apt-get -qq update
266266# Creating backup directory
267267mkdir -p $hst_backups
268268
269+ # Checking ntpdate
270+ if [ ! -e ' /usr/sbin/ntpdate' ]; then
271+ echo " Install missing ntpdate..."
272+ apt-get -y install ntpdate >> $LOG
273+ check_result $? " Can't install ntpdate"
274+ fi
275+
269276# Checking wget
270277if [ ! -e ' /usr/bin/wget' ]; then
271278 echo " Install missing wget..."
You can’t perform that action at this time.
0 commit comments