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
6
votes
0 answers

rc0.d & rc6.d script not running in Amazon EC2( it does curl connection)

I have fired an EC2 instance in Amazon WebServices. Also I have created a service in /etc/init.d folder it is called shutdownSocketServer I want it to get called on shutdown and reboot. I have added it to chkconfig -add, and I have checked it is…
X.Otano
  • 2,079
  • 1
  • 22
  • 40
6
votes
2 answers

How to detect when networking initialized in /etc/init.d script?

I have an /etc/init.d/ script that starts on boot and requires networking to be in place. I have the rc start set to 99, so it's the last thing that loads, but the networking doesn't load immediately and I'm currently having to rely on a 30 second…
BayssMekanique
  • 894
  • 1
  • 14
  • 27
6
votes
2 answers

What is the use of Android .rc files

What is the use of .rc files in Android framework. I see a lot of files what is there purpose. Also I have a little knowledge about linux but I see commands like mkdir /dirName 0777 abc def what does that mean. If I run this command on GNU-Linux it…
Aduait Pokhriyal
  • 1,529
  • 14
  • 30
6
votes
1 answer

.gemrc comments?

This is a basic question Are comments allowed in the .gemrc file? If so how would you do them? I checked here to no avail docs.rubygems.org/read/chapter/11
Zombo
  • 1
  • 62
  • 391
  • 407
5
votes
1 answer

Running a script in FreeBSD after boot/reboot

I have a simple script: #!/bin/sh PROVIDE: test REQUIRE: LOGIN NETWORKING . /etc/rc.subr name="test" load_rc_config $name rcvar=test_enable cd /home/deploy/projects/test /usr/sbin/daemon -u deploy /usr/local/bin/node…
Pachvarsh
  • 137
  • 1
  • 10
5
votes
0 answers

Specify include directories for resources in command line

I am trying to build cURL on Windows using the following line: nmake vc-x64 mode=dll VC=10 MACHINE=x64 Now I have done this setup before building: set PATH=C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\amd64;%PATH% set…
oldabl
  • 376
  • 2
  • 12
5
votes
7 answers

How do you calculate the area of a series of random points?

So I'm working on a piece of code to take positional data for a RC Plane Crop Duster and compute the total surface area transversed (without double counting any area). I cannot figure out how to calculate the area for a given period of operation.…
TelsaBoil
  • 584
  • 1
  • 6
  • 14
4
votes
2 answers

files from *.rc are not refreshed when compiling/building

I have a file that needs to be refreshed every days, linked into a rc file this way : docs.rc file RCDATA "C:\folder\myfile.ext" I understand that it refreshes the resources itself if changes are made in my *.rc file... only. The only way i found…
Darkendorf
  • 463
  • 11
  • 28
4
votes
1 answer

Adding symlink to scripts into rc.d folders to start process during system startup

I am using fedora 15. I am trying to add MYSql daemon to start during system strtup. I have understood that I will have to add it to rc5.d as it is the default target & is graphical.target. from inittab: systemd uses 'targets' instead of runlevels.…
ThinkingMonkey
  • 12,539
  • 13
  • 57
  • 81
4
votes
2 answers

Compile rc files encounter "expected exponent value" error

I have a rc entry: {CC6C210B-2EAC-4F6C-89E7-0D2FEFFCE278} 8000 "MyFile.txt" When I compile the rc file with cgrc.exe or brcc32.exe, I encounter this error: [BRCC32 Error] system.core.rc(1): expected exponent value, not 'a' This is due to the…
Chau Chee Yang
  • 18,422
  • 16
  • 68
  • 132
4
votes
1 answer

Configure node with .noderc

I feel like this is a silly question but I can't get node to run a .noderc file, not even to just log to the console and not even on linux where I would expect everything to work. My use case is that for work I have to use Windows and npm has…
4
votes
2 answers

How can I implement Deref for a struct that holds an Rc>?

My goal is to delegate method calls against my struct to a Trait's methods, where the Trait object is inside an Rc of RefCell. I tried to follow the advice from this question: How can I obtain an &A reference from a Rc>? I get a compile…
Paul Chernoch
  • 5,275
  • 3
  • 52
  • 73
4
votes
3 answers

SBT can't read environment variables in IntelliJ

I defined a new environment variable in ~/.zshrc like that: export JVM_XMX=-Xmx2048M. I can verify that it was set correctly running export command and finding it in the list. Now I want to use it in SBT. I've tried these two…
Marek J
  • 1,364
  • 8
  • 18
  • 33
4
votes
0 answers

Jupyter "escapes" virtualenv via .local files. How do I mitigate this?

I've noticed on multiple occasions that Jupyter has a tendency to "escape" from a virtualenv environment and cause conflict issues in different projects. After tracking one bug involving javascript widgets, which worked in a fresh user space, but…
DeusXMachina
  • 1,239
  • 1
  • 18
  • 26
4
votes
4 answers

vi/vim - custom formatting depending on presence of special file or tag inside code

Question Is there a simple/reliable way to have VIM, on a project/directory specific base, either detect a special file (ie: custom .vimrc with a couple settings), or to change run-time settings based on the presence of a special tag/string/hash in…
Cloud
  • 18,753
  • 15
  • 79
  • 153
1
2
3
17 18