Permalink
Browse files

Start concerto_configserver on VC 2

  • Loading branch information...
1 parent 3b1abbf commit f854b102541f4af59babaaa45ae1940bb62d9ebc @asquared committed Jun 12, 2012
Showing with 30 additions and 0 deletions.
  1. +30 −0 config/includes.chroot/lib/live/config/014-config-server
@@ -0,0 +1,30 @@
+#!/bin/sh
+
+Config_server ()
+{
+
+ echo -n " config_server"
+
+ Configure_config_server
+}
+
+Configure_config_server ()
+{
+ # Checking if if package is already configured differently
+ if [ -e /etc/profile.d/zz-config-server.sh ]
+ then
+ return
+ fi
+
+cat > /etc/profile.d/zz-config-server.sh << EOF
+if [ \$(tty) = /dev/tty2 ]
+then
+ while true
+ do
+ concerto_configserver
+ done
+fi
+EOF
+}
+
+Config_server

0 comments on commit f854b10

Please sign in to comment.