summaryrefslogtreecommitdiff
path: root/com32/modules/cmd.c
blob: 5d3f89187f92261e722c08061be734fcbda0262d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/* ----------------------------------------------------------------------- *
 *
 *   Copyright 2008 Michael Brown - All Rights Reserved
 *
 *   This program is free software; you can redistribute it and/or modify
 *   it under the terms of the GNU General Public License as published by
 *   the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
 *   Boston MA 02110-1301, USA; either version 2 of the License, or
 *   (at your option) any later version; incorporated herein by reference.
 *
 * ----------------------------------------------------------------------- */

/*
 * cmd.c
 *
 * Execute arbitrary commands
 */

#include <com32.h>
#include <syslinux/boot.h>

int main(void)
{
    syslinux_run_command(__com32.cs_cmdline);
    return -1;
}