All Questions

Tagged with
Filter by
Sorted by
Tagged with
0
votes
0answers
12 views

Is there a command named 'run_scripts' in open SUSE for the init daemon?

For a particular init daemon, I've come across a command 'run_scripts' and a directory specified after the 'run_scripts' for the initialization of those daemons. What is it, and why is it used in such ...
-3
votes
1answer
63 views

Linux bash scripting [closed]

I have lot of questions about scripts. How to configure the script that 1 It automatically turns on when the computer is turned on? 2 I was possible start and close the script with console? 3 After ...
1
vote
1answer
56 views

Put console on ttyS0 if guest OS is booted headlessly

We're using Debian 4 (No systemd) for our product. I run it as a guest OS managed by VirtualBox for testing purposes. Here's how I use it: For manual debugging, I have the guest OS's console on its ...
0
votes
2answers
263 views

init.d script is not starting under virtualbox

The script is in /etc/init.d: #!/bin/bash VMUSER=myname CURRDATE=(`date +"%m-%d-%Y"` + `date +"%H:%M:%S"`) CURRTIME=(`date +"%X"`) FILE=/home/myname/log/vm-services.log VBPATH=/usr/bin start(){ ...
0
votes
0answers
42 views

Bash script to identify which init system the system currently using [duplicate]

I have to create a script that will mount my /usr folder as aufs. I compressed it using squashfs. I've managed to install a working systemd init in ubuntu which I am currently using. Because the ...
90
votes
18answers
39k views

Detect init system using the shell

This may have more to do with detecting operating systems, but I specifically need the init system currently in use on the system. Fedora 15 and Ubuntu now use systemd, Ubuntu used to use Upstart (...