17

I have a small box running OpenWRT (it's actually a Wifi Pineapple). It has an internal file system on the microsd. If I plug in a USB drive with a formatted ext3 file system, then the drive is automatically mounted.

How do I safely turn it off? Does OpenWRT automatically flush all buffers and sync its filesystems so you can turn it off at any time? Or is something else going on?

vy32
  • 3,263
  • 11
  • 42
  • 46

1 Answers1

19

OpenWrt doesn't have a shutdown -h/-r command.

On Openwrt, one uses reboot, halt or poweroff commands instead.

Move to Ext4, should be save with shutdown.

Thomas Weller
  • 5,704
  • 11
  • 55
  • 100
Freedom
  • 191
  • 1
  • 3