contrib: update example configs

- check command removed
- disable modules by default (void)
- OpenSSH requires absolute path (void)
- Read keymap from env (alpine)
- minor cleanup/reordering for consistency

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
Joachim Wiberg committed 2021-02-28 10:23:15 +01:00
1 parent 6862d7cd5f
commit 544180aa0b
7 files changed
+10 -13

No files matched your search

+1 -1
View File
@@ -1,3 +1,3 @@
# Handle PWR button to shutdown/reboot -- useful in Qemu (virt-manager) # Handle PWR button to shutdown/reboot -- useful in Qemu (virt-manager)
# Depends on syslogd having started. Redirect any output to log. # Depends on syslogd having started. Redirect any output to log.
service [2345] log <pid/syslogd> acpid -f -- ACPI daemon service [2345] <pid/syslogd> log acpid -f -- ACPI daemon
+1 -1
View File
@@ -1,2 +1,2 @@
# Oneshot task to run once at bootstrap # Oneshot task to run once at bootstrap
task [S] zcat /etc/keymap/se.bmap.gz | loadkmap -- Loading keymap task [S] env:/etc/conf.d/loadkmap zcat $KEYMAP | loadkmap -- Loading keymap
+1 -1
View File
@@ -1,2 +1,2 @@
# Busybox ntpd has no option to use syslog when running in foreground # Busybox ntpd has no option to use syslog when running in foreground
service [2345] log <pid/syslogd> env:-/etc/conf.d/ntpd ntpd -n $NTPD_OPTS -- NTP daemon service [2345] <pid/syslogd> env:-/etc/conf.d/ntpd log ntpd -n $NTPD_OPTS -- NTP daemon
+1 -4
View File
@@ -2,9 +2,6 @@
# #
host testbed host testbed
# Devices to fsck at boot
check /dev/vda1
# Linux kernel modules to load # Linux kernel modules to load
module button module button
module evdev module evdev
@@ -42,7 +39,7 @@ service [3] gdm -- GNOME Display Manager
# log file is rotated with the above settings. The condition declares # log file is rotated with the above settings. The condition declares
# a dependency on a system default route (gateway) to be set. A single # a dependency on a system default route (gateway) to be set. A single
# <!> at the beginning means ntpd does not respect SIGHUP for restart. # <!> at the beginning means ntpd does not respect SIGHUP for restart.
service [2345] log:/var/log/ntpd.log <!net/route/default> ntpd -n -l -I eth0 -- NTP daemon service [2345] <!net/route/default> log:/var/log/ntpd.log ntpd -n -l -I eth0 -- NTP daemon
# Run start scripts from this directory # Run start scripts from this directory
# runparts /etc/start.d # runparts /etc/start.d
+4 -4
View File
@@ -1,6 +1,6 @@
## Linux kernel modules to load ## Linux kernel modules to load
#module fbcon #module fbcon
module button #module button
module evdev #module evdev
module mousedev #module mousedev
module 8139cp #module 8139cp
+1 -1
View File
@@ -1,2 +1,2 @@
# Silly Busybox ntpd has no option to use syslog when running in foreground # Silly Busybox ntpd has no option to use syslog when running in foreground
service [2345] log <pid/syslogd> ntpd -n -N -p pool.ntp.org -- NTP daemon service [2345] <pid/syslogd> log ntpd -n -N -p pool.ntp.org -- NTP daemon
+1 -1
View File
@@ -1,2 +1,2 @@
# Start SSH daemon as soon as basic networking comes up # Start SSH daemon as soon as basic networking comes up
service [2345] sshd -D -- OpenSSH daemon service [2345] /usr/sbin/sshd -D -- OpenSSH daemon