tal-zvon / RAM_booster

http://ubuntuforums.org/showthread.php?t=1594694
36 stars 14 forks source link

fixed chroot check #8

Closed kumakichi closed 6 years ago

kumakichi commented 6 years ago

Firstly, thank you for your remarkable work.

I use this in Ubuntu 16.04.3 LTS(just use RAM_booster_Ubuntu_14.10_ng.sh, no any patch), and when i tried to using redit/rupdate/rupgrade,they failed because these scripts thought i'm in a chroot jail

So i modifiy them, using ischroot which comes from debianutils

Here is my test results:

$ ls /
bin  boot  cdrom  dev  etc  home  initrd.img  lib  lib64  media  mnt  node_modules  opt  proc  RAM_Session  root  run  sbin  snap  srv  sys  tmp  usr  var  vmlinuz
$ ls -di /
550 /
tal-zvon commented 6 years ago

Looks good - thanks.