summaryrefslogtreecommitdiff
path: root/configs/talking-parabola-openrc/root-image/etc
diff options
context:
space:
mode:
Diffstat (limited to 'configs/talking-parabola-openrc/root-image/etc')
-rw-r--r--configs/talking-parabola-openrc/root-image/etc/conf.d/hostname2
-rw-r--r--configs/talking-parabola-openrc/root-image/etc/fstab0
-rw-r--r--configs/talking-parabola-openrc/root-image/etc/inittab41
-rw-r--r--configs/talking-parabola-openrc/root-image/etc/locale.conf1
-rw-r--r--configs/talking-parabola-openrc/root-image/etc/motd14
-rw-r--r--configs/talking-parabola-openrc/root-image/etc/pam.d/su6
-rw-r--r--configs/talking-parabola-openrc/root-image/etc/sudoers.d/g_wheel1
-rw-r--r--configs/talking-parabola-openrc/root-image/etc/udev/rules.d/81-dhcpcd.rules1
8 files changed, 66 insertions, 0 deletions
diff --git a/configs/talking-parabola-openrc/root-image/etc/conf.d/hostname b/configs/talking-parabola-openrc/root-image/etc/conf.d/hostname
new file mode 100644
index 0000000..a701f0c
--- /dev/null
+++ b/configs/talking-parabola-openrc/root-image/etc/conf.d/hostname
@@ -0,0 +1,2 @@
+# Set to the hostname of this machine
+hostname="parabolaiso"
diff --git a/configs/talking-parabola-openrc/root-image/etc/fstab b/configs/talking-parabola-openrc/root-image/etc/fstab
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/configs/talking-parabola-openrc/root-image/etc/fstab
diff --git a/configs/talking-parabola-openrc/root-image/etc/inittab b/configs/talking-parabola-openrc/root-image/etc/inittab
new file mode 100644
index 0000000..787b731
--- /dev/null
+++ b/configs/talking-parabola-openrc/root-image/etc/inittab
@@ -0,0 +1,41 @@
+# /etc/inittab: This file describes how the INIT process should set up
+# the system in a certain run-level.
+
+# Default runlevel.
+id:3:initdefault:
+
+# System initialization, mount local filesystems, etc.
+si::sysinit:/usr/bin/openrc sysinit
+
+# Further system initialization, brings up the boot runlevel.
+rc::bootwait:/usr/bin/openrc boot
+
+l0:0:wait:/usr/bin/openrc shutdown
+l0s:0:wait:/usr/bin/halt -dhip
+l1:S1:wait:/usr/bin/openrc single
+l2:2:wait:/usr/bin/openrc nonetwork
+l3:3:wait:/usr/bin/openrc default
+l4:4:wait:/usr/bin/openrc default
+l5:5:wait:/usr/bin/openrc default
+l6:6:wait:/usr/bin/openrc reboot
+l6r:6:wait:/usr/bin/reboot -d
+#z6:6:respawn:/usr/bin/sulogin
+
+# new-style single-user
+su0:S:wait:/usr/bin/openrc single
+su1:S:wait:/usr/bin/sulogin
+
+# TERMINALS
+c1:12345:respawn:/usr/bin/agetty -a root --noclear 38400 tty1 linux
+c2:2345:respawn:/usr/bin/agetty 38400 tty2 linux
+c3:2345:respawn:/usr/bin/agetty 38400 tty3 linux
+c4:2345:respawn:/usr/bin/agetty 38400 tty4 linux
+c5:2345:respawn:/usr/bin/agetty 38400 tty5 linux
+c6:2345:respawn:/usr/bin/agetty 38400 tty6 linux
+
+# SERIAL CONSOLES
+#s0:12345:respawn:/usr/bin/agetty 9600 ttyS0 vt100
+#s1:12345:respawn:/usr/bin/agetty 9600 ttyS1 vt100
+
+# What to do at the "Three Finger Salute".
+ca:12345:ctrlaltdel:/usr/bin/shutdown -r now
diff --git a/configs/talking-parabola-openrc/root-image/etc/locale.conf b/configs/talking-parabola-openrc/root-image/etc/locale.conf
new file mode 100644
index 0000000..01ec548
--- /dev/null
+++ b/configs/talking-parabola-openrc/root-image/etc/locale.conf
@@ -0,0 +1 @@
+LANG=en_US.UTF-8
diff --git a/configs/talking-parabola-openrc/root-image/etc/motd b/configs/talking-parabola-openrc/root-image/etc/motd
new file mode 100644
index 0000000..05ab207
--- /dev/null
+++ b/configs/talking-parabola-openrc/root-image/etc/motd
@@ -0,0 +1,14 @@
+
+===============================================================================
+
+ Parabola live media _DATE_
+
+ To install Parabola, the system must be connected to the internet.
+ For instructions, enter this command:
+ lynx network.html
+
+ Press the number keys while holding Alt to switch virtual terminals.
+ This allows entering commands without closing lynx.
+
+===============================================================================
+
diff --git a/configs/talking-parabola-openrc/root-image/etc/pam.d/su b/configs/talking-parabola-openrc/root-image/etc/pam.d/su
new file mode 100644
index 0000000..a291042
--- /dev/null
+++ b/configs/talking-parabola-openrc/root-image/etc/pam.d/su
@@ -0,0 +1,6 @@
+#%PAM-1.0
+auth sufficient pam_rootok.so
+auth sufficient pam_wheel.so trust use_uid
+auth required pam_unix.so
+account required pam_unix.so
+session required pam_unix.so
diff --git a/configs/talking-parabola-openrc/root-image/etc/sudoers.d/g_wheel b/configs/talking-parabola-openrc/root-image/etc/sudoers.d/g_wheel
new file mode 100644
index 0000000..8c45359
--- /dev/null
+++ b/configs/talking-parabola-openrc/root-image/etc/sudoers.d/g_wheel
@@ -0,0 +1 @@
+%wheel ALL=(ALL) NOPASSWD: ALL
diff --git a/configs/talking-parabola-openrc/root-image/etc/udev/rules.d/81-dhcpcd.rules b/configs/talking-parabola-openrc/root-image/etc/udev/rules.d/81-dhcpcd.rules
new file mode 100644
index 0000000..970da69
--- /dev/null
+++ b/configs/talking-parabola-openrc/root-image/etc/udev/rules.d/81-dhcpcd.rules
@@ -0,0 +1 @@
+ACTION=="add", SUBSYSTEM=="net", ENV{SYSTEMD_WANTS}="dhcpcd@$name.service"