hi I am not a programmer so try at own risk
1) create a script to both things at once
contents of /usr/local/bin/fluxstop (call it what you like)
#!/bin/sh
/etc/init.d/nodm stop
/sbin/shutdown -h now
Code:
sudo su
chmod 755 /usr/local/bin/fluxstop (to make it executable for all users)
(and to test run)
fluxstop
2) I use nodm but not with flux and yes thats normal for nodm
3) if it works try to find the config for fluxbox maybe in /etc and look for the line that reads something like
halt /sbin/shutdown -h now
if it exists change it to
halt /usr/local/bin/fluxstop
good luck