Remove embedded shebang

.updateScript.sh doesn't need the #! line because it specifically gets exec-ed using /bin/bash
This commit is contained in:
Andrew Scheller
2013-08-22 02:34:13 +01:00
parent ec1ef11c92
commit 99db681c0f

View File

@@ -44,7 +44,6 @@ function update_self() {
fi
cat > /root/.updateScript.sh << EOF
#!/bin/bash
if mv "${_tempFileName}" "$0"; then
rm -- "\$0"
exec env UPDATE_SELF=0 /bin/bash "$0" "${FW_REV}"