View Single Post
Posts: 958 | Thanked: 483 times | Joined on May 2010
#4534
Originally Posted by HtheB View Post
I keep getting errors about .bashrc everytime I open xterm:

Code:
BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso30+0m5) built-in shell (ash)
Enter 'help' for a list of built-in commands.

-sh: /home/user/.bashrc: line 5: cannot create /dev/cgroup/cpu/user/3870/tasks: nonexistent directory
-sh: /home/user/.bashrc: line 5: cannot create /dev/cgroup/cpu/user/3870/notify_on_release: nonexistent directory
The directory with the numbers after "user" is changing every time whenever I start xterm.

So there is some error with a file called .bashrc, this is the content of the file:

Code:
~ $ cat .bashrc 
if [ "$PS1" ] ; then
mkdir -p -m 0700 /dev/cgroup/cpu/user/$$ > /dev/null 2>&1
echo $$ > /dev/cgroup/cpu/user/$$/tasks
echo "1" > /dev/cgroup/cpu/user/$$/notify_on_release
fi
How can I solve this?
is it save to remove the .bashrc file?
What is the command trying to do anyway?
that is a speedpatch issue. i simply removed those lines from the profile script.
 

The Following User Says Thank You to droll For This Useful Post: