sysctl -a | grep swap
$ sudo pkill -HUP -u _windowserver
| #!/bin/bash | |
| # script to mount and chroot into a rootfs directory | |
| # designed for openwrt systems, but should work for anything with minimal modifications | |
| # unless you specify a different chroot dir, | |
| # place script on the same level as the rootfs directory, should look something like so: | |
| # /mnt/ | |
| # |- chroot.sh | |
| # |- rootfs/ |