diff --git a/CHANGELOG b/CHANGELOG index f5ff46a..f5dbb32 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -3,6 +3,7 @@ ====================== Version Description +1.0.4......Remove obsolete code, delete shutdown command upon uninstall. 1.0.3......Do not delete base releases with containers child. 1.0.2......Code and regex improvements. 1.0.1......Update paths and minor changes. diff --git a/bastille-init b/bastille-init index 5e416bb..aeda768 100755 --- a/bastille-init +++ b/bastille-init @@ -328,32 +328,8 @@ postinit_cmd() if ! grep -qw ${CWDIR}/${SCRIPTNAME} ${CONFIG}; then touch ${CWDIR}/postinit || error_notify "Error: A problem has occurred while creating the postinit file." chmod +x ${CWDIR}/postinit - if [ ! "${PRDVERSION}" -ge "112" ]; then - # Generate php script for previous product versions. - cat << EOF > ${CWDIR}/postinit - -EOF - else - # Generate php script for later product versions. + if [ "${PRDVERSION}" -ge "110" ]; then + # Generate php script for start/stop commands. cat << EOF > ${CWDIR}/postinit