]> ruin.nu Git - popboot.git/commitdiff
added plan and inittab
authorMichael Andreen <harv@ruin.nu>
Fri, 10 Jun 2005 20:13:17 +0000 (20:13 +0000)
committerMichael Andreen <harv@ruin.nu>
Sat, 26 Jan 2008 15:48:06 +0000 (16:48 +0100)
gentoo [deleted file]
gentooplan [new file with mode: 0644]
inittab [new file with mode: 0644]
src.pro

diff --git a/gentoo b/gentoo
deleted file mode 100644 (file)
index 422a5a7..0000000
--- a/gentoo
+++ /dev/null
@@ -1,179 +0,0 @@
-#runlevels
-2: AUMIX, HALD, CRON
-3: NET, AUMIX, HALD, CRON, CUPSD, DISTCCD, FIREWALL, HDDTEMP, HDPARM, SSHD, NTPD, NETMOUNT, NFSMOUNT, SPEEDFREQ, LOCAL
-4: SSHD, CUPSD
-7: SYSINIT # First runlevel
-8: CONSOLEFONT, KEYMAPS, URANDOM, BOOTMISC, CLOCK, LO, RMNOLOGIN, SERIAL  # Boot runlevel
-
-sysinit
- #no preconditions
-"/sbin/rc sysinit"
-0: SYSINIT
-
-#startup for gentoo
-aumix
- #?HOTPLUG no preconditions
-"/etc/init.d/aumix start"
-0: AUMIX
-
-cupsd
-?NET, ?LOGGER #, ?HOTPLUG
-"/etc/init.d/cupsd start"
-0: CUPSD
-
-distccd
-NET
-"/etc/init.d/distccd start"
-0: DISTCCD
-
-firewall
-NET
-"/etc/init.d/firewall start"
-0: FIREWALL
-
-hald
-DBUS #, HOTPLUG
-"/etc/init.d/hald start"
-0: HALD
-
-dbus
- #no preconditions
-"/etc/init.d/dbus start"
-0: DBUS
-
-hddtemp
- # no preconditions
-"/etc/init.d/hddtemp start"
-0: HDDTEMP
-
-hdparm
- # no preconditions
-"/etc/init.d/hdparm start"
-0: HDPARM
-
-clock
- # no preconditions
-"/etc/init.d/clock start"
-0: CLOCK
-
-metalog
-CLOCK
-"/etc/init.d/metalog start"
-0: METALOG, LOGGER
-
-eth0
- #?HOTPLUG
-"/etc/init.d/net.eth0 start"
-0: NET, ETH0
-
-ntpclient
-NET, ?LOGGER
-"/etc/init.d/ntp-client start"
-0: NTPCLIENT
-
-ntpd
-NET, ?LOGGER, ?NTPCLIENT
-"/etc/init.d/ntpd start"
-0: NTPD
-
-speedfreq
-LOGGER, ?ACPID
-"/etc/init.d/speedfreq start"
-0: SPEEDFREQ
-
-sshd
-NET, ?LOGGER
-"/etc/init.d/sshd start"
-0: SSHD
-
-vixiecron
-CLOCK, ?LOGGER, ?NTPCLIENT
-"/etc/init.d/vixie-cron start"
-0: CRON, VIXIECRON
-
-netmount
-NET
-"/etc/init.d/netmount start"
-0: NETMOUNT
-
-nfsmount
-NET, PORTMAP
-"/etc/init.d/nfsmount start"
-0: NFSMOUNT
-
-portmap
-NET
-"/etc/init.d/portmap start"
-0: PORTMAP
-
-local
-NET, AUMIX, HALD, CRON, CUPSD, DISTCCD, FIREWALL, HDDTEMP, HDPARM, SSHD, NTPD, NETMOUNT, NFSMOUNT, SPEEDFREQ
-"/etc/init.d/local start"
-0: LOCAL
-
-#BOOT services
-consolefont
-LOCALMOUNT #?HOTPLUG
-"/etc/init.d/consolefont start"
-0: CONSOLEFONT
-
-keymaps
-LOCALMOUNT
-"/etc/init.d/keymaps start"
-0: KEYMAPS
-
-urandom
-LOCALMOUNT
-"/etc/init.d/urandom start"
-0: URANDOM
-
-bootmisc
-LOCALMOUNT, CLOCK, HOSTNAME
-"/etc/init.d/bootmisc start"
-0: BOOTMISC
-
-checkfs
-CHECKROOT, MODULES
-"/etc/init.d/checkfs start"
-0: CHECKFS
-
-checkroot
- #no preconditions
-"/etc/init.d/checkroot start"
-0: CHECKROOT
-
-clock
-LOCALMOUNT
-"/etc/init.d/clock start"
-0: CLOCK
-
-hostname
-CHECKROOT
-"/etc/init.d/hostname start"
-0: HOSTNAME
-
-localmount
-CHECKFS
-"/etc/init.d/checkfs start"
-0: LOCALMOUNT
-
-modules
-CHECKROOT, HOSTNAME
-"/etc/init.d/modules start"
-0: MODULES
-
-net.lo
- #no preconditions
-"/etc/init.d/net.lo start"
-0: LO
-
-rmnologin
-LOCALMOUNT
-"/etc/init.d/rmnologin start"
-0: RMNOLOGIN
-
-serial
- #no preconditions
-"/etc/init.d/serial start"
-0: SERIAL
-
diff --git a/gentooplan b/gentooplan
new file mode 100644 (file)
index 0000000..422a5a7
--- /dev/null
@@ -0,0 +1,179 @@
+#runlevels
+2: AUMIX, HALD, CRON
+3: NET, AUMIX, HALD, CRON, CUPSD, DISTCCD, FIREWALL, HDDTEMP, HDPARM, SSHD, NTPD, NETMOUNT, NFSMOUNT, SPEEDFREQ, LOCAL
+4: SSHD, CUPSD
+7: SYSINIT # First runlevel
+8: CONSOLEFONT, KEYMAPS, URANDOM, BOOTMISC, CLOCK, LO, RMNOLOGIN, SERIAL  # Boot runlevel
+
+sysinit
+ #no preconditions
+"/sbin/rc sysinit"
+0: SYSINIT
+
+#startup for gentoo
+aumix
+ #?HOTPLUG no preconditions
+"/etc/init.d/aumix start"
+0: AUMIX
+
+cupsd
+?NET, ?LOGGER #, ?HOTPLUG
+"/etc/init.d/cupsd start"
+0: CUPSD
+
+distccd
+NET
+"/etc/init.d/distccd start"
+0: DISTCCD
+
+firewall
+NET
+"/etc/init.d/firewall start"
+0: FIREWALL
+
+hald
+DBUS #, HOTPLUG
+"/etc/init.d/hald start"
+0: HALD
+
+dbus
+ #no preconditions
+"/etc/init.d/dbus start"
+0: DBUS
+
+hddtemp
+ # no preconditions
+"/etc/init.d/hddtemp start"
+0: HDDTEMP
+
+hdparm
+ # no preconditions
+"/etc/init.d/hdparm start"
+0: HDPARM
+
+clock
+ # no preconditions
+"/etc/init.d/clock start"
+0: CLOCK
+
+metalog
+CLOCK
+"/etc/init.d/metalog start"
+0: METALOG, LOGGER
+
+eth0
+ #?HOTPLUG
+"/etc/init.d/net.eth0 start"
+0: NET, ETH0
+
+ntpclient
+NET, ?LOGGER
+"/etc/init.d/ntp-client start"
+0: NTPCLIENT
+
+ntpd
+NET, ?LOGGER, ?NTPCLIENT
+"/etc/init.d/ntpd start"
+0: NTPD
+
+speedfreq
+LOGGER, ?ACPID
+"/etc/init.d/speedfreq start"
+0: SPEEDFREQ
+
+sshd
+NET, ?LOGGER
+"/etc/init.d/sshd start"
+0: SSHD
+
+vixiecron
+CLOCK, ?LOGGER, ?NTPCLIENT
+"/etc/init.d/vixie-cron start"
+0: CRON, VIXIECRON
+
+netmount
+NET
+"/etc/init.d/netmount start"
+0: NETMOUNT
+
+nfsmount
+NET, PORTMAP
+"/etc/init.d/nfsmount start"
+0: NFSMOUNT
+
+portmap
+NET
+"/etc/init.d/portmap start"
+0: PORTMAP
+
+local
+NET, AUMIX, HALD, CRON, CUPSD, DISTCCD, FIREWALL, HDDTEMP, HDPARM, SSHD, NTPD, NETMOUNT, NFSMOUNT, SPEEDFREQ
+"/etc/init.d/local start"
+0: LOCAL
+
+#BOOT services
+consolefont
+LOCALMOUNT #?HOTPLUG
+"/etc/init.d/consolefont start"
+0: CONSOLEFONT
+
+keymaps
+LOCALMOUNT
+"/etc/init.d/keymaps start"
+0: KEYMAPS
+
+urandom
+LOCALMOUNT
+"/etc/init.d/urandom start"
+0: URANDOM
+
+bootmisc
+LOCALMOUNT, CLOCK, HOSTNAME
+"/etc/init.d/bootmisc start"
+0: BOOTMISC
+
+checkfs
+CHECKROOT, MODULES
+"/etc/init.d/checkfs start"
+0: CHECKFS
+
+checkroot
+ #no preconditions
+"/etc/init.d/checkroot start"
+0: CHECKROOT
+
+clock
+LOCALMOUNT
+"/etc/init.d/clock start"
+0: CLOCK
+
+hostname
+CHECKROOT
+"/etc/init.d/hostname start"
+0: HOSTNAME
+
+localmount
+CHECKFS
+"/etc/init.d/checkfs start"
+0: LOCALMOUNT
+
+modules
+CHECKROOT, HOSTNAME
+"/etc/init.d/modules start"
+0: MODULES
+
+net.lo
+ #no preconditions
+"/etc/init.d/net.lo start"
+0: LO
+
+rmnologin
+LOCALMOUNT
+"/etc/init.d/rmnologin start"
+0: RMNOLOGIN
+
+serial
+ #no preconditions
+"/etc/init.d/serial start"
+0: SERIAL
+
diff --git a/inittab b/inittab
new file mode 100644 (file)
index 0000000..8bf2c66
--- /dev/null
+++ b/inittab
@@ -0,0 +1,52 @@
+#
+# /etc/inittab:  This file describes how the INIT process should set up
+#                the system in a certain run-level.
+#
+# Author:  Miquel van Smoorenburg, <miquels@cistron.nl>
+# Modified by:  Patrick J. Volkerding, <volkerdi@ftp.cdrom.com>
+# Modified by:  Daniel Robbins, <drobbins@gentoo.org>
+# Modified by:  Martin Schlemmer, <azarah@gentoo.org>
+#
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/sysvinit/files/inittab,v 1.2 2004/12/22 03:25:20 vapier Exp $
+
+# Default runlevel.
+id:3:initdefault:
+
+# System initialization, mount local filesystems, etc.
+si::sysinit:/path/to/planner /path/too/gentooplan 7
+
+# Further system initialization, brings up the boot runlevel.
+rc::bootwait:/path/to/planner /path/too/gentooplan 8
+
+l0:0:wait:/sbin/rc shutdown 
+l1:S1:wait:/sbin/rc single
+l2:2:wait:/sbin/rc nonetwork
+l3:3:wait:/path/to/planner /path/too/gentooplan 3
+l4:4:wait:/sbin/rc default
+l5:5:wait:/sbin/rc default
+l6:6:wait:/sbin/rc reboot
+#z6:6:respawn:/sbin/sulogin
+
+# TERMINALS
+c1:12345:respawn:/sbin/agetty 38400 tty1 linux
+c2:12345:respawn:/sbin/agetty 38400 tty2 linux
+c3:12345:respawn:/sbin/agetty 38400 tty3 linux
+c4:12345:respawn:/sbin/agetty 38400 tty4 linux
+c5:12345:respawn:/sbin/agetty 38400 tty5 linux
+c6:12345:respawn:/sbin/agetty 38400 tty6 linux
+
+# SERIAL CONSOLES
+#s0:12345:respawn:/sbin/agetty 9600 ttyS0 vt100
+#s1:12345:respawn:/sbin/agetty 9600 ttyS1 vt100
+
+# What to do at the "Three Finger Salute".
+ca:12345:ctrlaltdel:/sbin/shutdown -r now
+
+# Used by /etc/init.d/xdm to control DM startup.
+# Read the comments in /etc/init.d/xdm for more
+# info. Do NOT remove, as this will start nothing
+# extra at boot if /etc/init.d/xdm is not added
+# to the "default" runlevel.
+x:a:once:/etc/X11/startDM.sh
+
+# End of /etc/inittab
diff --git a/src.pro b/src.pro
index 6495a0c03719a147827dbf9189fb6924f4682677..5f55685e98d6819f50f97d664b4cfd6735d8332d 100644 (file)
--- a/src.pro
+++ b/src.pro
@@ -9,6 +9,7 @@ INCLUDEPATH += .
 TARGET = planner
 LIBS += -lpthread
 QMAKE_YACC = bison
+#QMAKE_CXXFLAGS_DEBUG += -Weffc++
 
 # Input
 HEADERS += action.h node.h planner.h