M123
#!/bin/sh
# Unslave W from Z

halcmd sets w-z-s-hold 0
halcmd sets slave-offset-sel 0
sleep .100 ;# requires a sleep that does <1


# if a M1nn command fails and its script exits with nonzero status,
# the gcode program exits.  So always exit 0, and make sure
# the M1nn command prints a message in order to keep on going.
exit 0
