diff options
author | Peter Korsgaard <jacmet@sunsite.dk> | 2009-02-21 19:13:24 +0000 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2009-02-21 19:13:24 +0000 |
commit | 87c15b53561786b2af782042bb77c5aaefecc5c9 (patch) | |
tree | 24b942330793554c5f371800f003b2539cd7b008 /package/kexec/kexec-tools-001-smaller-reboot.patch | |
parent | 8c1dd5d2c0b9d32e635382ed4f5177f0a50297ce (diff) |
kexec: bump version and convert to Makefile.autotools.in format
Diffstat (limited to 'package/kexec/kexec-tools-001-smaller-reboot.patch')
-rw-r--r-- | package/kexec/kexec-tools-001-smaller-reboot.patch | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/package/kexec/kexec-tools-001-smaller-reboot.patch b/package/kexec/kexec-tools-001-smaller-reboot.patch deleted file mode 100644 index e29f3fc09..000000000 --- a/package/kexec/kexec-tools-001-smaller-reboot.patch +++ /dev/null @@ -1,27 +0,0 @@ ---- kexec-tools-1.101.orig/kexec/kexec.c 2006-09-20 04:39:38.000000000 +0200 -+++ kexec-tools-1.101/kexec/kexec.c 2007-01-22 15:58:30.000000000 +0100 -@@ -630,19 +630,14 @@ int k_unload (unsigned long kexec_flags) - */ - static int my_shutdown(void) - { -- char *args[8]; -- int i = 0; -+ char *args[2]; - -- args[i++] = "shutdown"; -- args[i++] = "-r"; -- args[i++] = "now"; -- args[i++] = NULL; -+ args[0] = "reboot"; -+ args[1] = NULL; - -- execv("/sbin/shutdown", args); -- execv("/etc/shutdown", args); -- execv("/bin/shutdown", args); -+ execv("/sbin/reboot", args); - -- perror("shutdown"); -+ perror("reboot"); - return -1; - } - |