First commit
This commit is contained in:
27
libexec/config.h
Normal file
27
libexec/config.h
Normal file
@@ -0,0 +1,27 @@
|
||||
#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 } },
|
||||
};
|
||||
Reference in New Issue
Block a user