]> ruin.nu Git - popboot.git/commitdiff
soft, not hard, goals and bugfixes in the gentoo file
authorMichael Andreen <harv@ruin.nu>
Thu, 19 May 2005 21:22:31 +0000 (21:22 +0000)
committerMichael Andreen <harv@ruin.nu>
Thu, 19 May 2005 21:22:31 +0000 (21:22 +0000)
genoo
node.cpp

diff --git a/genoo b/genoo
index fd0bb2dfc4d0fab6fec34e0fc9ba2b596d560356..8ad9bdb256f363d6e740ebc77d13dac71b28e4c6 100644 (file)
--- a/genoo
+++ b/genoo
@@ -1,6 +1,6 @@
 #runlevels
 2: AUMIX, HALD, CRON
 #runlevels
 2: AUMIX, HALD, CRON
-3: AUMIX, HALD, CRON, CUPSD, DISTCCD, FIRWALL, HDDTEMP, HDPARM, SSHD, NTPD
+3: AUMIX, HALD, CRON, CUPSD, DISTCCD, FIREWALL, HDDTEMP, HDPARM, SSHD, NTPD
 
 #startup for gentoo
 aumix
 
 #startup for gentoo
 aumix
@@ -28,6 +28,11 @@ DBUS #, HOTPLUG
 "/etc/init.d/hald start"
 0: HALD
 
 "/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"
 hddtemp
  # no preconditions
 "/etc/init.d/hddtemp start"
@@ -40,7 +45,7 @@ hdparm
 
 metalog
  # no preconditions
 
 metalog
  # no preconditions
-"/etc/inid.d/metalog start
+"/etc/inid.d/metalog start"
 0: METALOG, LOGGER
 
 eth0
 0: METALOG, LOGGER
 
 eth0
@@ -48,7 +53,7 @@ eth0
 "/etc/init.d/net.eth0 start"
 0: NET, ETH0
 
 "/etc/init.d/net.eth0 start"
 0: NET, ETH0
 
-ntp-client
+ntpclient
 NET, ?LOGGER
 "/etc/init.d/ntp-client start"
 0: NTPCLIENT
 NET, ?LOGGER
 "/etc/init.d/ntp-client start"
 0: NTPCLIENT
@@ -68,7 +73,8 @@ NET, ?LOGGER
 "/etc/init.d/sshd start"
 0: SSHD
 
 "/etc/init.d/sshd start"
 0: SSHD
 
-vixie-cron
+vixiecron
 ?LOGGER, ?NTPCLIENT
 "/etc/init.d/vixie-cron start"
 ?LOGGER, ?NTPCLIENT
 "/etc/init.d/vixie-cron start"
-0: CRON, VIXIE-CRON
+0: CRON, VIXIECRON
+
index b4d22fb9569c28cea70176abce6ce585c2b8b8c1..83b3334a7dab9b6095e1d1907a35ac808d9d6bc9 100644 (file)
--- a/node.cpp
+++ b/node.cpp
@@ -70,7 +70,7 @@ StartNode::StartNode(const Literals& init){
 EndNode::EndNode(const Literals& goal){
        Preconditions goalState;
        for(Literals::const_iterator g = goal.begin(); g != goal.end(); ++g)
 EndNode::EndNode(const Literals& goal){
        Preconditions goalState;
        for(Literals::const_iterator g = goal.begin(); g != goal.end(); ++g)
-               goalState[*g] = true;
+               goalState[*g] = false;
        _action = new Action("finish",goalState,"",EffectsMap());
        _preconditions = _action->preconditions();
 }
        _action = new Action("finish",goalState,"",EffectsMap());
        _preconditions = _action->preconditions();
 }