2 * qi-bootmenu - A kexec based bootloader with an elementary based GUI
4 * Copyright (c) 2009 Marc Andre Tanner <mat@brain-dump.org>
6 * qi-bootmenu shares the basic idea and some small code snippets with
7 * kexecboot which is written by:
9 * Copyright (c) 2008-2009 Yuri Bushmelev <jay4mail@gmail.com>
10 * Copyright (c) 2008 Thomas Kunze <thommycheck@gmx.de>
12 * This program is free software; you can redistribute it and/or modify
13 * it under the terms of the GNU General Public License as published by
14 * the Free Software Foundation; either version 2, or (at your option)
17 * This program is distributed in the hope that it will be useful,
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 * GNU General Public License for more details.
27 int main(int argc
, char **argv
) {
29 if (argc
> 1 && argv
[1][0] == '-') {
37 return gui_show(argc
, argv
);