Changed the shutdown script start condition

Should fix a timing issue on the backports debian image