diff options
author | Jay Freeman <saurik@saurik.com> | 2008-04-06 10:28:29 +0000 |
---|---|---|
committer | Jay Freeman <saurik@saurik.com> | 2008-04-06 10:28:29 +0000 |
commit | d699a01fabaa04a1aad60f6ca5777f82ee24839a (patch) | |
tree | 1eb62bad23b14a0877c5b9171f2a5f9358c8d592 /data/system-cmds/reboot.diff | |
parent | 8a49e427447f40fdd43fc4b5f513b166dd639e2a (diff) |
Drastic, sweeping modifications to support iPhone 1.2.0/2.0.
git-svn-id: http://svn.telesphoreo.org/trunk@199 514c082c-b64e-11dc-b46d-3d985efe055d
Diffstat (limited to 'data/system-cmds/reboot.diff')
-rw-r--r-- | data/system-cmds/reboot.diff | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/data/system-cmds/reboot.diff b/data/system-cmds/reboot.diff index 21d11a3bd..4c9dc152d 100644 --- a/data/system-cmds/reboot.diff +++ b/data/system-cmds/reboot.diff @@ -1,7 +1,15 @@ -diff -r -u system_cmds-431/reboot.tproj/reboot.c system_cmds-431+iPhone/reboot.tproj/reboot.c +diff -ru system_cmds-431/reboot.tproj/reboot.c system_cmds-431+iPhone/reboot.tproj/reboot.c --- system_cmds-431/reboot.tproj/reboot.c 2007-09-06 20:46:17.000000000 +0000 -+++ system_cmds-431+iPhone/reboot.tproj/reboot.c 2008-02-12 11:29:02.000000000 +0000 -@@ -81,11 +81,9 @@ ++++ system_cmds-431+iPhone/reboot.tproj/reboot.c 2008-03-30 20:43:53.000000000 +0000 +@@ -63,7 +63,6 @@ + #include <mach/mach_port.h> // allocate + #include <mach/mach.h> // task_self, etc + #include <servers/bootstrap.h> // bootstrap +-#include <reboot2.h> + #endif + + void usage(void); +@@ -81,11 +80,9 @@ int ch, howto, kflag, lflag, nflag, qflag, uflag; char *p; const char *user; @@ -13,7 +21,7 @@ diff -r -u system_cmds-431/reboot.tproj/reboot.c system_cmds-431+iPhone/reboot.t if (strstr((p = rindex(*argv, '/')) ? p + 1 : *argv, "halt")) { dohalt = 1; -@@ -240,19 +238,16 @@ +@@ -240,19 +237,16 @@ } #endif |