]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/hardware/templates/default/tty.conf.erb
Add hardware cookbook
[chef.git] / cookbooks / hardware / templates / default / tty.conf.erb
diff --git a/cookbooks/hardware/templates/default/tty.conf.erb b/cookbooks/hardware/templates/default/tty.conf.erb
new file mode 100644 (file)
index 0000000..896e8c3
--- /dev/null
@@ -0,0 +1,12 @@
+# DO NOT EDIT - This file is being maintained by Chef
+
+# ttyS<%= @unit %> - getty
+#
+# This service maintains a getty on ttyS<%= @unit %> from the point the system is
+# started until it is shut down again.
+
+start on stopped rc RUNLEVEL=[2345]
+stop on runlevel [!2345]
+
+respawn
+exec /sbin/getty -L <%= @speed %> ttyS<%= @unit %> vt102