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
~ $ 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