Re: what to restart after mgetty.config changes?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Don Russell wrote:
Mikkel L. Ellertson wrote:
Don Russell wrote:
I'm playing around with mgetty and making changes to the
/etc/mgetty+sendfax/mgetty.config file

I find the only way to have the changes take effect is to "shutdown -r"
the whole system.

I thought an "init q" might do it.... but nope.... I can find plenty of
information about mgetty.config via Google etc, but nothing on how to
make the changes effective. :-(

Is there a service I can restart so I don't have to reboot the whole
system (which takes way too long: (due to clamAV stuff) -) )

Thanks


Probably the easiest way would be to run "killall mgetty". The
problem is that you have not changed /etc/inittab, so init does not
restart mgetty, and mgetty does not know that its config file has
been changed. (You will have to double check the exact program name
mgetty is running under...)

Mikkel

Thanks.... that sure beats rebooting the whole machine. :-)
Then how will it get restarted again? I'm assuming that's what inittab takes care of.... from the next call on the ttyS1 device
(That's sort of rhetorical... I'll just try it and see :-) )

Well, I'll answer my own question here... in case somebody looks in the archives in the future....

"killall mgetty" does it...it kills the currect instance and a new instance is created, and the new mgetty.config file is read... perfect! :-)


--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux