From 0ea7e9cd23252831ec1c3449ca574dfac882ed0b Mon Sep 17 00:00:00 2001
From: Stephen Soltesz <soltesz@cs.princeton.edu>
Date: Thu, 29 Nov 2007 23:49:25 +0000
Subject: [PATCH] Add a postcommand value for /etc/ipod.conf, to make the value
 take effect.

---
 db-config | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/db-config b/db-config
index 7a414e8..955a415 100755
--- a/db-config
+++ b/db-config
@@ -437,6 +437,7 @@ def main():
          'always_update': False},
 
         # Ping of death configuration
+        # the 'restart' postcommand doesn't work, b/c the pod script doesn't support it.
         {'enabled': True,
          'source': 'PlanetLabConf/ipod.conf.php',
          'dest': '/etc/ipod.conf',
@@ -444,7 +445,7 @@ def main():
          'file_owner': 'root',
          'file_group': 'root',
          'preinstall_cmd': '',
-         'postinstall_cmd': '',
+         'postinstall_cmd': '/etc/init.d/pod start',
          'error_cmd': '',
          'ignore_cmd_errors': False,
          'always_update': False},
-- 
2.47.0