in alcune distro c'e':

/etc/rc.local.shutdown




p.s.
non sono sicuro che se le metti nei runlevel(0 e 6)
venga eseguito da: halt o shutdown