# Script

**URL:** https://hub.mender.io/t/script/328
**Category:** Update Modules
**Created:** [March 12, 2019, 9:06am UTC](https://hub.mender.io/t/script/328 "2019-03-12T09:06:43Z")
**Posts on this page:** 1
**Showing post:** 14

<div class="post-metadata">

### Author: ![nishad1092](https://avatars.discourse-cdn.com/v4/letter/n/5fc32e/32.png) [@nishad1092](https://hub.mender.io/u/nishad1092)
#### Post date: [June 15, 2020, 12:01pm UTC](https://hub.mender.io/t/script/328/14 "2020-06-15T12:01:11Z")

</div>

Hi,

I would like to use this module to reboot my RPi , I tried including “sudo reboot”, it reboot just fine, but deployment is failing in the mid way, because the mender artifact isn’t able to recognize the poweroff maybe, So whats the right way to reboot the device, Thats it, Only a reboot device command.,

---

_[View the full topic](https://hub.mender.io/t/script/328)._
