Top "Init" questions

May refer to Linux Init - the parent of all processes, which primary role is to create processes from a script stored in the file /etc/inittab.

Python multi-inheritance, __init__

Regarding multiple parent inheritance, when I call the super.__init__, why doesn't parent2's __init__ function get called? Thanks. class …

python oop inheritance init super
Switch user in a init script?

Here's my Init script which I have at my Ubuntu workstation. I need to run a command as another user …

ubuntu sudo init
How to enable adbd to listen to a port at boot time in Android?

I have a rooted HTC Hero, and what I want to do is to enable the adbd to listen to …

android adb boot init remote-connection
HttpModule Init method is called several times - why?

I was creating a http module and while debugging I noticed something which at first (at least) seemed like weird …

c# .net httpmodule init
Can I have two init functions in a python class?

I'm porting some geolocation java code from http://janmatuschek.de/LatitudeLongitudeBoundingCoordinates#Java (shown below) to python. It can be initialized …

python init
What is the purpose of calling __init__ directly?

I am having a hard time figuring out the purpose some code that I've come across. The code has a …

python init
Convert NSNumber to NSDecimalNumber

I realize that NSDecimalNumber inherits from NSNumber. However, I am struggling to figure out how I can init an NSDecimalNumber …

objective-c init nsnumber nsdecimalnumber
Subclassing dict: should dict.__init__() be called?

Here is a twofold question, with a theoretical part, and a practical one: When subclassing dict: class ImageDB(dict): def __…

python subclass dictionary init
Yocto using .bbappend file to override writing of default init scripts for initramfs

I am trying to write a .bbappend file that will append to the initramfs-live-boot_1.0.bb which has a statement inside …

init yocto bitbake openembedded
debugging /etc/init.d startup scripts in Ubuntu

Have custom dropr message queue pollers I'm trying to start up via /etc/init.d in ubuntu. All 3 scripts are …

shell ubuntu init autostart