mirror of
https://github.com/kernelkit/infix.git
synced 2026-07-22 01:13:00 +02:00
src/factory: use new /mnt/cfg/infix/.reset path
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
@@ -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'
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user