diff options
author | Geoff Levand <geoffrey.levand@am.sony.com> | 2009-07-09 14:45:48 -0700 |
---|---|---|
committer | Geoff Levand <geoffrey.levand@am.sony.com> | 2009-07-09 15:54:21 -0700 |
commit | c763f15030565eef2e8b28fdf471ef3e7dd9b933 (patch) | |
tree | 59eb24a1a696e075f362325eee5b23dbaefadc01 /lib/system | |
parent | 93b2c2e0f0ca46d2a823b33cdfa44d082e9e8d10 (diff) | |
download | petitboot-c763f15030565eef2e8b28fdf471ef3e7dd9b933.zip petitboot-c763f15030565eef2e8b28fdf471ef3e7dd9b933.tar.gz |
Delete kexec temporary files before rebooting
Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
Diffstat (limited to 'lib/system')
-rw-r--r-- | lib/system/system.c | 1 | ||||
-rw-r--r-- | lib/system/system.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/lib/system/system.c b/lib/system/system.c index 65bd6bf..7371445 100644 --- a/lib/system/system.c +++ b/lib/system/system.c @@ -20,6 +20,7 @@ const struct pb_system_apps pb_system_apps = { .cp = "/bin/cp", .kexec = "/sbin/kexec", .mount = "/bin/mount", + .shutdown = "/sbin/shutdown", .sftp = "/usr/bin/sftp", .tftp = "/usr/bin/tftp", .umount = "/bin/umount", diff --git a/lib/system/system.h b/lib/system/system.h index 47c7c02..1918309 100644 --- a/lib/system/system.h +++ b/lib/system/system.h @@ -5,6 +5,7 @@ struct pb_system_apps { const char *cp; const char *kexec; const char *mount; + const char *shutdown; const char *sftp; const char *tftp; const char *umount; |