What's the correct way to shutdown from software?

I’ve tried various things like “poweroff -p” or “shutdown -h” but the device seems to just come back online. I do have a USB hub plugged in if that matters.

My syscon settings are the defaults:

~# sudo /usr/bin/particle-tachyon-syscon.sh list_config
Dumping internal raw config:
confVersion = 1
No more keys found

Dumping internal settings (use config to set):
sys.auto_boot: false
sys.wake_pin_enable: false
sys.color_debug_enable: false
sys.fastboot_enabled: false
sys.demo_enabled: false

I’m seeing the same behaviour - only the long button press shuts down the hardware, software commands poweroff/shutdown -h just cause a reboot

@msells Just to check, what version are you on? You can find this by running cat /etc/particle/distro_versions.json.

OS version:1.0.130
"ubuntu_20_04": "image-77-cc88d9760",
"quectel_bp_fw": "1.0.11"

I have the same question and issue while just getting started with my new Tachyon. During development (playing around) I need to be able to turn it off gracefully for the periods where it’s not going to be used at all.

My OS info:

{
    "distro": {
        "stack": "ubuntu-headless",
        "version": "1.0.172",
        "variant": "headless",
        "board": "formfactor_dvt",
        "region": "NA"
    },
    "src": {
        "ubuntu_20_04": "image-87-235604c2d",
        "quectel_bp_fw": "1.0.18"
    }
}