diff options
author | Camil Staps | 2017-02-20 10:06:38 +0100 |
---|---|---|
committer | Camil Staps | 2017-02-20 10:06:38 +0100 |
commit | 73ae3a47a410eb2db9c3c776c0252e1feaeb2d7e (patch) | |
tree | 4835551f5d769ede433ed390d3cfc2406975480c /bin/lxc-setup | |
parent | Cloogle stats in status bar (diff) |
Reorganise binaries
Diffstat (limited to 'bin/lxc-setup')
-rwxr-xr-x | bin/lxc-setup | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/bin/lxc-setup b/bin/lxc-setup deleted file mode 100755 index 08824a8..0000000 --- a/bin/lxc-setup +++ /dev/null @@ -1,20 +0,0 @@ -# https://wiki.debian.org/LXC -# https://lists.linuxcontainers.org/pipermail/lxc-devel/2014-February/008088.html -# https://lists.debian.org/debian-user/2015/05/msg00162.html -# https://wiki.debian.org/LXC/SimpleBridge -# http://box.matto.nl/lxconlaptop.html -# https://coderwall.com/p/k0gutq/clean-lxc-nat-configuration-debian-wheezy - -for d in /sys/fs/cgroup/* -do - f=$(basename $d) - echo "looking at $f" - if [ "$f" = "cpuset" ]; then - echo 1 | sudo tee -a $d/cgroup.clone_children; - elif [ "$f" = "memory" ]; then - echo 1 | sudo tee -a $d/memory.use_hierarchy; - fi - sudo mkdir $d/$USER - sudo chown -R $USER: $d/$USER - echo $$ > $d/$USER/tasks -done |