Update netweork 'BLKR'.

This commit is contained in:
2018-10-15 01:04:40 +02:00
parent 27de2ec9b6
commit 7e2e43ffe7
248 changed files with 38711 additions and 11 deletions

20
BLKR/sbin/rebind Executable file
View File

@ -0,0 +1,20 @@
#!/bin/bash
case "$1" in
on)
set -x
mount --bind /proc /ro/proc
mount --bind /sys /ro/sys
mount --bind /dev /ro/dev
mount --bind /dev/pts /ro/dev/pts
;;
off)
set -x
umount /ro/dev/pts
umount /ro/dev
umount /ro/sys
umount /ro/proc
;;
*)
echo "Use: $0 (on|off)"
esac