Skip to content

Magenaut

  • Home
  • Topics
    • Notes
    • Tutorial
    • Bug fixing
    • Extension
    • Server
  • Q&A
  • Privacy Policy
  • About

init

Can the init process be a shell script in Linux?

August 8, 2022 by Magenaut

I was going through a tutorial on setting up a custom initramfs where it states:

Categories Q&A, Unix & Linux Tags init, init-script, linux Leave a comment

Linux – IPC with init

August 8, 2022 by Magenaut

The init process exists as an ancestor of all of processes on a linux system. Does this process have any kind of IPC entry point ? Do other processes ever do IPC with init for any reason ?

Categories Q&A, Unix & Linux Tags init Leave a comment

What are the pros/cons of Upstart and systemd?

August 7, 2022 by Magenaut

It appears systemd is the hot new init system on the block, same as Upstart was a few years ago. What are the pros/cons for each? Also, how does each compare to other init systems?

Categories Q&A, Unix & Linux Tags init, systemd, upstart Leave a comment

Can root kill init process?

August 7, 2022 by Magenaut

Can root kill init process (the process with pid 1)? What would be its consequences?

Categories Q&A, Unix & Linux Tags init, root Leave a comment

What can make passing init=/path/to/program to the kernel not start program as init?

August 7, 2022 by Magenaut

I’m trying to debug an init script on a Linux system; I’m trying to pass init=/bin/sh to the kernel to make it start sh without starting init so I can run through the init sequence manually.

Categories Q&A, Unix & Linux Tags init, linux Leave a comment

remove an action hook function on a plugin from a theme

August 6, 2022 by Magenaut

first I did my homework by checking the answer on this question and this question, both didn’t work.
after long debuging the function I want to remove is protected in 2 nested classes, and follows this path:

Categories Q&A, Wordpress Tags actions, init Leave a comment

Intercept request to /wp-content/uploads/random.file

August 5, 2022August 4, 2022 by Magenaut

I want to intercept requests to public files in WordPress, more specifically all requests to any file located in /wp-content/uploads. Using request or even init filters didn’t help, e.g.

Categories Q&A, Wordpress Tags actions, init, uploads Leave a comment

Use wp init hook to call other hooks?

August 4, 2022August 3, 2022 by Magenaut

I want to know if it is a good practice according to WordPress theme or plugin development.

Categories Q&A, Wordpress Tags admin-init, customization, hooks, init Leave a comment

Marking future dated post as published

August 4, 2022August 3, 2022 by Magenaut

Use case:

Categories Q&A, Wordpress Tags custom-post-types, init Leave a comment

Change page title from plugin

August 3, 2022August 2, 2022 by Magenaut

Is possible to change page title on the fly from plugin?

Categories Q&A, Wordpress Tags init, plugins, title Leave a comment
Older posts
Newer posts
← Previous Page1 Page2 Page3 Next →
  1. michealSmith07 on Is there a way to dynamically refresh the less command?August 21, 2022

    That is a very nice post. I like this post.

  2. anonymous on Fix libwacom9 dependency issue when upgrade DebianJune 27, 2022

    saved my day!! Thanks for the help…

  3. sreedhar on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    Thanks its working

  4. saintnick on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    remove libwacom2 worked for me as well

  5. ranafoul on Fix libwacom9 dependency issue when upgrade DebianApril 22, 2022

    apt remove libwacom2 helped on kali 2022.01. gr8

.net ajax asp.net asp.net-core asp.net-mvc asp.net-mvc-3 asp.net-mvc-4 asp.net-web-api bash c# command-line css custom-post-types custom-taxonomy dataframe dictionary django entity-framework functions gridview html iis javascript jquery json linux list matplotlib numpy pandas php plugin-development plugins posts python python-2.7 python-3.x security shell shell-script sql string vb.net webforms wp-query

© 2026 Magenaut • Built with GeneratePress