If you have no idea how something works, applying Occam's razor, all things being equal, you should stop giving advice as you are as likely to do harm as good.
Developers, is for developers.
Installation issues, is for people with installation issues, or solutions for installation issues, which you do sometimes have... however if you have NO idea what you are talking about, we aren't interested in you talking to yourself about how you think things MIGHT work. Use that time figuring out how things DO work.
I offered you a thousand dollars dude.
svn co http://svn.linuxmce.org/svn/branches/LinuxMCE-1004/src/
grep -r 'shutdown' ./*
./BootScripts/HaltMDs.sh: Msg="Not waiting for MDs to shutdown anymore. Continuing."
cat BootScripts/HaltMDs.sh
for Host in $R; do
ShutDownRemote "$Host" &
grep -r 'ShutDownRemote' ./*
./BootScripts/pluto.func:ShutDownRemote() {
cat /BootScripts/pluto.func
ShutDownRemote() {
host=$1
if ! [ $host ]; then
return
fi
Logging $TYPE $SEVERITY_WARNING $module "Shutting down $host"
# ssh $host "/sbin/init 0" &>/dev/null ||
ssh $host "/sbin/poweroff" &>/dev/null || Logging $TYPE $SEVERITY_WARNING $module "Couldn't shut down $host"
}
ls -l /sbin/po*
lrwxrwxrwx 1 root root 6 Apr 26 11:27 /sbin/poweroff -> reboot
This
That depends on whether they really are the same. Meaning,... One of the shutdown command line switches is deprecated,... either -h or -P, I don't know which one,... but they're supposed to do the same thing now... but they don't (not always, anyway).
If you're shutting down your system with shutdown -h now, but LinuxMCE does it with shutdown -P now, they may yield different behavior. Unless you are specifically looking at the scripts, you might assume one is used, when it is really the other,... That's what I mean...
Is a waste of everyones time, time you could have spent actually figuring out how it works.
My goal is not continued harassment of you... it is to get you to look over the edge of the abyss, and see that it is just a really deep hole... and that you can climb down into it. You are a smart guy. Use it to learn rather than guess. You have almost half as many posts as I do, and I have been here for years. I have read every one of those posts. Those posts all take my and everyones time to read. Rather than burning our time, burn yours... pick up the light saber. Use the force.