28 lines
729 B
C
28 lines
729 B
C
#include "common.h"
|
|
|
|
#define LOGTO "/dev/tty3"
|
|
#define SEEDFILE "/var/lib/init/seed"
|
|
#define HOSTFILE "/etc/hostname"
|
|
|
|
static const
|
|
struct cmd boot_cmd[] =
|
|
{
|
|
{ WAIT, { "/bin/mount", "-a", NULL } },
|
|
{ WAIT, { "/bin/mount", "-o", "rw,remount", "/", NULL } },
|
|
{ NOFLAGS, { "/bin/smdev", "-s", NULL } },
|
|
#if 0
|
|
{ NOFLAGS, { "/bin/alsactl", "restore", NULL } },
|
|
#endif
|
|
{ RESPAWN, { "/bin/agetty", "tty1", "38400", "linux", NULL } },
|
|
{ RESPAWN, { "/bin/agetty", "tty2", "38400", "linux", NULL } },
|
|
{ RESPAWN, { "/bin/nldev", NULL } },
|
|
{ RESPAWN, { "/bin/wsupp", "wlan0", NULL } },
|
|
};
|
|
|
|
static const
|
|
struct cmd shut_cmd[] =
|
|
{
|
|
{ WAIT, { "/sbin/killall5", "9", NULL } },
|
|
{ WAIT, { "/sbin/umount", "-a", NULL } },
|
|
};
|