mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-08-22 08:43:54 +08:00
swap factory reset order
old-commit-hash: a94bf25d6f12621502c721812a431ee84ab533cc
This commit is contained in:
@@ -12,10 +12,10 @@
|
||||
|
||||
|
||||
void do_reset() {
|
||||
std::system("sudo umount " USERDATA);
|
||||
std::system("yes | sudo mkfs.ext4 " USERDATA);
|
||||
std::system("sudo umount " NVME);
|
||||
std::system("yes | sudo mkfs.ext4 " NVME);
|
||||
std::system("sudo umount " USERDATA);
|
||||
std::system("yes | sudo mkfs.ext4 " USERDATA);
|
||||
std::system("sudo reboot");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user