#!/bin/bash

INITD_PATH="$(CreoleGet container_path_ftp)/etc/init.d"

if [ -f $INITD_PATH/proftpd.dpkg-dist ];then
    if grep -q "retry 1" $INITD_PATH/proftpd;then
        # Restore new initscript on EOLE 2.5.x (#19581)
        mv $INITD_PATH/proftpd.dpkg-dist $INITD_PATH/proftpd
    fi
fi
