Hi guys
I dont know if this solves just your problem but it solves mine also related to Ubuntu 6.10 dash replacing bash as the default shell. Your post was closest I could find so I leave mine solution here for people to pick up... Sorry if I'm posting cross posting wrong.
I found that sourced functions are something dash can not digest. I fix it by running...
I hope vmware folks pick this up and make their scripts ubuntu-dash compatible.
$ sudo bash
# sed -e 's!${p//[0-9]/}!$(echo $p | sed -e '\'s/[0-9]//g\'')!' functions.ORIG > functions
# diff functions.orig functions
130c130
< [ -z "${p//[0-9]/}" -a -d "/proc/$p" ] && pid="$pid $p"
---
[ -z "$(echo $p | sed -e 's/[0-9]//g')" -a -d "/proc/$p" ] && pid="$pid $p"
182c182
< [ -z "${p//[0-9]/}" -a -d "/proc/$p" ] && pid="$pid $p"
---
[ -z "$(echo $p | sed -e 's/[0-9]//g')" -a -d "/proc/$p" ] && pid="$pid $p"
244c244
< [ -z "${p//[0-9]/}" -a -d /proc/$p ] && pid="$pid $p"
---
[ -z "$(echo $p | sed -e 's/[0-9]//g')" -a -d /proc/$p ] && pid="$pid $p"
268c268
< [ -z "${p//[0-9]/}" -a -d /proc/$p ] && pid="$pid $p"
---
[ -z "$(echo $p | sed -e 's/[0-9]//g')" -a -d /proc/$p ] && pid="$pid $p"
#
# /etc/init.d/vmware stop
Stopping VMware services:
Virtual machine monitor done
Bridged networking on /dev/vmnet0 done
DHCP server on /dev/vmnet1 done
Host-only networking on /dev/vmnet1 done
DHCP server on /dev/vmnet8 done
NAT service on /dev/vmnet8 done
Host-only networking on /dev/vmnet8 done
Virtual ethernet done
# exit
$
It works for me. No guaranties it's gonna work for you. Good luck.