Tagged Questions
1
vote
0answers
48 views
Modifying resolv.conf when when bringing network interface up on system startup
My Linux box currently has a network interface that allows me to connect to a network on a different subnet. I've achieved this by modifying the routing table when the network interface is brought up. ...
2
votes
2answers
672 views
disabling x server on Fedora 17
How can I disable x server from starting up on Fedora 17? In older versions the user should edit /etc/inittab but in this version (I don't checked this on previous versions) Fedora uses some other ...
2
votes
2answers
208 views
No /proc in a Busybox-based embedded Linux distribution
I am making an embedded Linux distribution and my board is a Raspberry Pi. My kernel version is 3.2.27 without initramfs and my root file system as follows:
/lib /* contains ...
1
vote
0answers
131 views
How to write a systemd script that runs usb_modeswitch and connects to the internet at startup?
I have a cisco AM10 wireless adapter and every boot, I need to run
usb_modeswitch -v 1307 -p 1169 -L -I -u -l
to get it to function as an adapter.
Then I have to run a netcfg profile to connect to ...
3
votes
1answer
853 views
Create and control start up scripts in BusyBox
I have compiled a custom linux kernel in BusyBox. BusyBox init does not support runlevels. When the kernel boots up in BusyBox, it first executes init which looks for the specified runlevel in ...
2
votes
2answers
221 views
How to start an application automatically on boot
I am new to Linux & looking forward to start application (which toggles a led every 10 sec).
I have written the application program & it is working fine but now I want to start it ...
4
votes
2answers
150 views
What happens if I set default system runlevel to 0 or 6?
What I understand from runlevels is that in each level some programs have permission to be executed and some don't. runlevel 3 boots system into CLI and runlevel 5 starts the default GUI.
But I don't ...
1
vote
2answers
194 views
Is there a way to view the console output instead of boot logo, while my RHEL 6.2 machine boots up?
My company provided laptop has RHEL6.2, with lot of programs to start up automatically, which makes the boot up process slow.
While the machine boots up, there is the boring RHEL logo on the screen ...
1
vote
1answer
432 views
Reducing ubuntu boot time using dmesg
The boot time is 141 seconds. Here's the most interesting parts of dmesg command:
[ 2.870498] usb 1-1.2: new high-speed USB device number 5 using ehci_hcd
[ 80.669210] ADDRCONF(NETDEV_UP): eth0: ...
2
votes
0answers
216 views
Linux mint 13: Error starting MATE
My Linux Mint installation seemed to work fine an hour ago, then I switched into Windows 7 which is installed on the same machine. When I restarted back into Mint, I got the following errors and can't ...
0
votes
1answer
195 views
Where can I see the processes running at startup?
I'm using backtrack5 R2 and sometimes when I log in the information showed says that There is 1 zombie process, where can I see what process is running?
1
vote
0answers
125 views
Automatically start named pipe reader on startup?
I'm trying to run a script with root access from PHP. I can't do that because Apache's user, www-data, don't have root access because of security reasons. To fix that, I was advised to use a named ...
2
votes
1answer
121 views
Templates for startup script?
I need to write a couple of Linux (Debian) startup scripts.
Are there any accurate templates available?
5
votes
2answers
1k views
How can I make Debian run m python script at startup?
I have this script in my home folder (pi): server.py.
How could I make Debian run this script at startup so I dont need to log in and to i manually?
2
votes
2answers
172 views
Running script once when X is initialized
Where should I put a bash script if I want it to be executed once during X startup as part of system bootup. For example, I want to start up VPN on my machine as root user once X starts up.
When X ...
1
vote
1answer
1k views
Execute a script as root at boot on Fedora 15/16
I try to run a script (tpfand) at startup, and it asked to be root to execute it.
This is a script to control the fans on Thinkpad computers.
Despite several attempts, I could not get ...
4
votes
2answers
1k views
Make daemon start up with Linux
I'm writing a simple daemon application using C/C++ and I want it to start when Linux starts up.
I am a beginner on Linux systems.
I have tried to modify /etc/init.d/skeleton to add a script into ...
4
votes
1answer
377 views
Giving a custom script root permissions
I have a backup drive that is Truecrypt Encrypted. I'd like to automnt this drive so I can automate backups when in the office. I am using Linux Mint 12 x64bit
I wrote a script that runs successfully ...
1
vote
7answers
765 views
What's the cleanest way to schedule autoexec.bat like command in Linux?
I want to create a small script for my Linux system that would do some simple things on PC boot. The script is most likely going to be Python, but maybe I'll resort to C or shell.
The problem is that ...
4
votes
5answers
221 views
How to disable graphical shell?
I have a Linux system (Ubuntu) running in a VM, but now I want to disable the graphical shell. Where in the startup process are the graphical components launched? Is it some run-level dependent ...
4
votes
1answer
1k views
rc.local - not all commands are executed
I have following lines in my rc.local
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# ...
8
votes
5answers
4k views
Stop program running at startup in Linux
How do I stop a program running at startup in Linux. I want to remove some apps from startup to allow them to be managed by supervisord e.g apache2
8
votes
5answers
1k views
On Linux, is there an rc.local equivalent for shutdown?
I've got a few commands that I run in rc.local so they are run last in the startup sequence. I would like to know if there is a similar facility for undoing the results of those commands at shutdown, ...