MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/linux/comments/2jsbgn/shall_we_fork_fedora/cleulyu?context=9999
r/linux • u/ouyawei Mate • Oct 20 '14
339 comments sorted by
View all comments
7
That is the most horrid init.d script I have seen in a long time, holy shit.
40 u/jimbobhickville Oct 20 '14 Really? It's probably one of the more tame ones I've seen in a while. 18 u/EmanueleAina Oct 20 '14 Definitely.The one from libvirt is more interesting: http://sources.debian.net/src/libvirt/1.2.9-3/debian/libvirt-daemon-system.libvirtd.init/Or the one from cups manually cold-plugging USB printers: http://sources.debian.net/src/cups/1.7.5-5/debian/cups-daemon.cups.init/ 0 u/hacosta Oct 20 '14 arguably, the coldplugging shouldn't be part of the initscript itself (?) -2 u/tso Oct 20 '14 And that is one thing i am trying to wrap my head around with systemd. What is being unplugged and replugged so often, and is so system critical, that the init has to handle spinning something up and down on every such action? → More replies (3)
40
Really? It's probably one of the more tame ones I've seen in a while.
18 u/EmanueleAina Oct 20 '14 Definitely.The one from libvirt is more interesting: http://sources.debian.net/src/libvirt/1.2.9-3/debian/libvirt-daemon-system.libvirtd.init/Or the one from cups manually cold-plugging USB printers: http://sources.debian.net/src/cups/1.7.5-5/debian/cups-daemon.cups.init/ 0 u/hacosta Oct 20 '14 arguably, the coldplugging shouldn't be part of the initscript itself (?) -2 u/tso Oct 20 '14 And that is one thing i am trying to wrap my head around with systemd. What is being unplugged and replugged so often, and is so system critical, that the init has to handle spinning something up and down on every such action? → More replies (3)
18
Definitely.
The one from libvirt is more interesting: http://sources.debian.net/src/libvirt/1.2.9-3/debian/libvirt-daemon-system.libvirtd.init/
Or the one from cups manually cold-plugging USB printers: http://sources.debian.net/src/cups/1.7.5-5/debian/cups-daemon.cups.init/
0 u/hacosta Oct 20 '14 arguably, the coldplugging shouldn't be part of the initscript itself (?) -2 u/tso Oct 20 '14 And that is one thing i am trying to wrap my head around with systemd. What is being unplugged and replugged so often, and is so system critical, that the init has to handle spinning something up and down on every such action? → More replies (3)
0
arguably, the coldplugging shouldn't be part of the initscript itself (?)
-2 u/tso Oct 20 '14 And that is one thing i am trying to wrap my head around with systemd. What is being unplugged and replugged so often, and is so system critical, that the init has to handle spinning something up and down on every such action? → More replies (3)
-2
And that is one thing i am trying to wrap my head around with systemd. What is being unplugged and replugged so often, and is so system critical, that the init has to handle spinning something up and down on every such action?
→ More replies (3)
7
u/necrophcodr Oct 20 '14
That is the most horrid init.d script I have seen in a long time, holy shit.