Procees : workstation imaging
OS : linux
error: shutdown: cannot execute /sbin/init
__________________________________________________ __________________________


While running a script in linux for imaging, I get an error
after calling the shutdown command. The script goes something like this:

img restorep 111.11.111.11
//111.11.111.11/sys/images/public/$IMAGE.zmg
echo "setting up variables..."
zisedit TREE_NAME=Library
zisedit NETBIOS_NAME=$PC
shutdown -hn now


I've tried multiple switches to use with the shutdown command but result in
the same error:

cannot execute /sbin/init


Any help appreciated,
israel