Questions tagged [rc]

An "rc" file is a file read at startup of a program. It is also the name of the Plan 9 Shell.

Historically, in the days when Unix and other software was distributed on tapes, a tape archive often contained a file named "rc" containing run commands or run code to compile and install the software.

rc, the Plan 9 Shell

257 questions
0
votes
2 answers

SCons - 'rc' is not recognized as an internal or external command, operable program or batch file

I have set-up everything according to instructions on https://github.com/TideSDK/TideSDK/wiki/Windows7-x86-2005 But, scons won't pick up "rc" from PATH: > scons -s debug=1 sdkinstaller run=1 ... runs fine for a while, until: ... cl : Command line…
Motin
  • 4,853
  • 4
  • 44
  • 51
0
votes
1 answer

Per-user rc.local files a bad idea?

I was thinking about running commands at system start as a regular user. Currently, to do so, I use a syntax like this: su -c 'command with some arguments' user But I was thinking that it might be beneficial to have a per-user rc.local file at…
Dan Jones
  • 1,337
  • 11
  • 22
0
votes
0 answers

Boot script execution order (rc.local)?

With some great help from another user on here I've managed to create a script which writes the necessary network configurations required to /etc/network/interfaces and allow public access to a DomU server. I’ve placed this script in the…
Colin
  • 21
  • 1
  • 5
0
votes
1 answer

Error starting gnome-terminal from /etc/rc.local ubuntu 12.04

I am unable to start gnome-terminal from rc.local , with the following error. ** (gnome-terminal:1304): WARNING **: Command line `dbus-launch --autolaunch=bd53fdd726adb41172f458c100000007 --binary-syntax --close-stderr' exited with non-zero exit…
Sujithra
  • 527
  • 1
  • 6
  • 14
0
votes
1 answer

"Run Command" file editing (i.e. " *.rc " files): Echoing to the terminal like Linux?

I am editing the Android phone file "init.tuna.rc" so that it prints to me some basic debugging checkpoint messages so I can analyze how far the phone gets in the boot process. Does anyone know if you can simply insert the shell scripting syntax for…
0
votes
1 answer

newsyslog: pid file doesn't exist: /var/run/lighttpd.pid

We're running lighttpd-1.4.26 on FreeBSD 7.2-RELEASE. Each time we rebooted the machine, and the lighttpd was started by rc script, the pid file won't automatically write into /var/run/lighttpd.pid. Howerver, if we start the lighttpd manually by…
-1
votes
1 answer

Rust can't modify RefCell in Rc

I want to simulate some natural process, so I have a Simulator, and a reactor like a NuclearReactor. The simulator will modify the reactor, and the reactor can reversely influance the simulator by modifying it. One important thing is that the…
YNX
  • 511
  • 6
  • 17
-1
votes
1 answer

How do I cast a concrete object in a Rc> to a dynamic trait object?

I have the struct MyText which implements the ModifyValue trait. MyText::new returns Rc>. I want a struct Modifier that, given a jet of type Rc> (practically any dynamic object that implements the trait…
Giggi
  • 681
  • 2
  • 9
  • 17
-1
votes
1 answer

~/.ssh/rc Auto Login to seperate shell

Below is the codeblock which I use within my RC file. The idea is to move straight into another servers ssh session (without port forwarding). When this executes, I see the session. This said, it blinks rapidly and is not interactive. I believe this…
-1
votes
1 answer

Squelch puppet state chown

I'm hoping to use puppet to manage my rc files (i.e. sharing configuration files between work and home). I keep my rc files in a subversion respository. Some machines, I have sudo privileges on, some I don't. And none of the machines are on the same…
user1024203
  • 45
  • 1
  • 3
-1
votes
1 answer

sysV init.d: what does the priority really mean?

The docs for chkconfig are a bit loose on what the priority number actually means, and the docs for init don't even mention priority on my machine. Say you have the following: /etc/rc.d/rc3.d/S01foo /etc/rc.d/rc3.d/S02bar Which one is run first? …
James M. Lay
  • 2,270
  • 25
  • 33
-1
votes
1 answer

How could you start all of the scripts in /etc/rc2.d?

So I am in /etc/rc3.d and I want to start all of the "S" scripts and Kill all of the "K" scripts. I am trying # ./S* start but it's not seeing the start argument. How to I adjust my syntax to allow me to pass a start to the Ss and a stop to the Ks?
MRLOBE
  • 3
  • 3
-1
votes
1 answer

I keep on getting error in rc.local

I have the following script added to my rc.local file #wait until the internet connection is ready wget -q --tries=10 --timeout=20 -O - http://google.com > /dev/null while [ $? -ne 0 ]; do printf "Waiting for internet connection" …
-1
votes
1 answer

Disable pacman progress bar

I see pacman has this option --noprogressbar do not show a progress bar when downloading files That applies to pacman -S pacman -R pacman -U. However I would like to always use this option when appropriate. Is that possible?
Zombo
  • 1
  • 62
  • 391
  • 407
-1
votes
3 answers

SeleniumException: Timed out after 30000ms error

I am getting same error, it just open the mention URL and closes the browser with following error com.thoughtworks.selenium.SeleniumException: Timed out after 30000ms Following is the code i am trying with Selenium RC and junit
Sudhir Patil
  • 25
  • 3
  • 7
1 2 3
17
18