src/factory: use new /mnt/cfg/infix/.reset path

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
Joachim Wiberg
2023-02-21 20:02:34 +01:00
parent 357799bf47
commit 605bd7262b
2 changed files with 1 additions and 2 deletions
@@ -1 +0,0 @@
alias factory='read -N 1 -p "Factory reset requires a reboot, continue (y/N)? " yorn; echo; if [ "$yorn" = "y" ]; then touch /mnt/cfg/infix/.reset; reboot; fi'
+1 -1
View File
@@ -10,7 +10,7 @@
#include <sys/stat.h>
#include <sys/types.h>
#define RESETME "/rw/infix/.reset"
#define RESETME "/mnt/cfg/infix/.reset"
#define touch(f) mknod((f), S_IFREG|0644, 0)
char rawgetch(void)