Add some missing lines for getty, patch by Steven Scholz