From 1d0bc30bb2eb0d43ffcff6722ae06e819565a862 Mon Sep 17 00:00:00 2001 From: fbt Date: Sat, 27 Dec 2014 17:53:28 +0300 Subject: [PATCH 1/2] fixed the default rc.conf a bit --- rc.conf | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/rc.conf b/rc.conf index 9faf4b5..08fb49a 100644 --- a/rc.conf +++ b/rc.conf @@ -5,16 +5,17 @@ export PATH='/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin' cfg_hostname='changeme' # Timezone +# Change this to yours #cfg_timezone='Europe/Moscow' # Services cfg_services+=( 'fsck' 'mount' 'systemd-udevd' 'sysctl' ) # Services that need tp be started in an order +cfg_services+=( '@lo.iface' '@crond' '@dbus' '@alsa' ) # These start in parallel. cfg_services+=( @agetty-tty{2..6} ) # Comment this if your init starts something on the ttys itself. -cfg_services+=( '@crond' '@network' '@dbus' '@alsa' ) # These start in parallel. -cfg_services+=( 'rc.local' ) # Traditionally, rc.local starts last. +cfg_services+=( 'rc.local' ) # Traditionally, rc.local starts last. Technically here it doesn't. Not quite :) -# Modules -cfg_modules=( ) # Add modules you want to be loaded at boot time here +# Add modules you want to be loaded at boot time here +#cfg_modules=( ) # Make C-A-D perform a soft reset ctrlaltdel soft From 14e07dbedfda126b293f5b5d5f6cb15ff4bdf935 Mon Sep 17 00:00:00 2001 From: fbt Date: Sat, 27 Dec 2014 18:28:34 +0300 Subject: [PATCH 2/2] motd --- Makefile | 1 + rc.motd | 1 + 2 files changed, 2 insertions(+) create mode 100644 rc.motd diff --git a/Makefile b/Makefile index e913b7b..83d0c64 100644 --- a/Makefile +++ b/Makefile @@ -25,6 +25,7 @@ install: build install -m750 rc $(BINDIR)/rc install -m644 rc.conf $(ETCDIR)/rc.conf + install -m644 rc.motd $(ETCDIR)/rc.motd install -m755 tools/killall5 $(BINDIR)/killall5 diff --git a/rc.motd b/rc.motd new file mode 100644 index 0000000..c7c7c45 --- /dev/null +++ b/rc.motd @@ -0,0 +1 @@ +Boot finished. Switch to tty2 to login.