The anchor pre-stop script uses the 'function' command, which fails when using dash. This change removes it for compatibility. Change-Id: I6591045fa0a555800a03edbdf1f9f3a8476dd0a3