Sponsored Content
Operating Systems Linux Red Hat Init scripts for tty's under Fedora 13 Post 302448279 by verdepollo on Wednesday 25th of August 2010 04:11:52 PM
Old 08-25-2010
Quote:
what it is now in Fedora 13?
upstart replaces init in F13... Use /etc/init/ instead of /etc/event.d

Quote:
I tried /etc/init/mgetty.conf with similar lines as above, but that didnt work.
Try using a single stanza with multiple events (and'd or or'd). E.g:

Code:
start on startup or stopped rc2 or stopped rc3 or stopped rc4
stop on runlevel [016]
respawn
script
exec /sbin/mgetty -D -n 1 /dev/ttySM0
end script

Also, how do you know it's now working?, what happens if you start it manually? Which version of upstart are you running?

Last edited by verdepollo; 08-25-2010 at 05:35 PM..
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

init scripts on AIX

Where are they located? (2 Replies)
Discussion started by: 98_1LE
2 Replies

2. UNIX for Advanced & Expert Users

Init 6 & Init 0 problem

Hi Expert, I have encountered some problem with my SUN system. Everytime when i issue command #init 6 OR #init 0 it just logout and prompt for login again instead of rebooting the server when run init 6 and system shutdown when run init 0.. I can only reboot the system using reboot ... Was... (6 Replies)
Discussion started by: sc2005
6 Replies

3. Linux

How to I change init levels after typing init 1

Dear all, I typed in init 1 on my redhat box as root and according to wikipedia (http://en.wikipedia.org/wiki/Runlevel): 1 Single-User Mode Does not configure network interfaces, start daemons, or allow non-root logins So now I can't connect back to it. How do I change the init back to 3?... (8 Replies)
Discussion started by: z1dane
8 Replies

4. Red Hat

Difference between 'init s' and 'init 1'

What is the difference between 'init s' and 'init 1'. I know that both will work to change the current run level to single user mode. Is there any difference in those two commands? (5 Replies)
Discussion started by: praveen_b744
5 Replies

5. UNIX for Advanced & Expert Users

Problem on init 0, execution is the same with init 6

Hi, I am experiencing a weird thing on my SUNFIRE machine with Solaris 9 OS. When I do init 0 to shutdown the machine to go to ok prompt, what it did was shutdown and reboot like an init 6 command do. I did check the corresponding rc scripts that were involved with init 0 and compared with rc... (2 Replies)
Discussion started by: Yenthanh
2 Replies

6. Red Hat

init-script failing because of /etc/rc.d/init.d/functions

I encountered a problem on one of our database servers. OS: CentOS 5.5 final Kernel: 2.6.18-238.5.1.el5.028stab085.2 (OpenVZ kernel) We wrote some DB-Start/Stop-scripts ("/db2/admin/scripts_dba/start_services.ksh" and ".../stop_services.ksh") to start the database instances. (Database... (1 Reply)
Discussion started by: bakunin
1 Replies

7. UNIX for Advanced & Expert Users

Init vs rc scripts, history, different UNIXes

Why not just init? What do /etc/rc*.* scripts, rc*.*d and init*.*d directories and directory trees, etc (ex like svc, startsrc, and on and on) do that init and inittab do not or could not do? Is it just so novice SysAdmins need not mess with init? Is there an overview anyplace of how start-up... (4 Replies)
Discussion started by: Clovis_Sangrail
4 Replies

8. UNIX for Dummies Questions & Answers

Init scripts missing . . .

One of our VM machines mysteriously went read-only overnight and as it wasn't being used, thought it would be a good idea to reboot the machine and run fsck on boot, well. . . .. things didn't quite work out that way lol :) Anyway, the machine booted up, but mysteriously had no hostname set,... (2 Replies)
Discussion started by: jimbob01
2 Replies

9. Shell Programming and Scripting

Prioritizing scripts under /etc/init.d/

Hello Team, I work on IBM TWS ( Tivoli Workload Scheduler ) administration. I have placed TWS service stop and start script under directory /etc/init.d/ in my Linux server and coded email alert when the script has been executed with stop or start parameter . I am receiving email notification... (3 Replies)
Discussion started by: madhuraju
3 Replies

10. Shell Programming and Scripting

Python: Redirecting to tty and reading from tty

In bash, you can do something like this: #!/bin/bash echo -n "What is your name? " > /dev/tty read thename < /dev/tty How can I do the same in python? I have a python script that has the following content: #!/usr/bin/python2.7 import getpass import sys import telnetlib import... (2 Replies)
Discussion started by: SkySmart
2 Replies
DBIx::Class::StartupCheck(3)				User Contributed Perl Documentation			      DBIx::Class::StartupCheck(3)

NAME
DBIx::Class::StartupCheck - Run environment checks on startup SYNOPSIS
use DBIx::Class::StartupCheck; DESCRIPTION
This module used to check for, and if necessary issue a warning for, a particular bug found on Red Hat and Fedora systems using their system perl build. As of September 2008 there are fixed versions of perl for all current Red Hat and Fedora distributions, but the old check still triggers, incorrectly flagging those versions of perl to be buggy. A more comprehensive check has been moved into the test suite in "t/99rh_perl_perf_bug.t" and further information about the bug has been put in DBIx::Class::Manual::Troubleshooting. Other checks may be added from time to time. Any checks herein can be disabled by setting an appropriate environment variable. If your system suffers from a particular bug, you will get a warning message on startup sent to STDERR, explaining what to do about it and how to suppress the message. If you don't see any messages, you have nothing to worry about. CONTRIBUTORS
Nigel Metheringham Brandon Black Matt S. Trout AUTHOR
Jon Schutz LICENSE
You may distribute this code under the same terms as Perl itself. perl v5.18.2 2013-12-16 DBIx::Class::StartupCheck(3)
All times are GMT -4. The time now is 01:51 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy