Initial commit
This commit is contained in:
3414
CKUBU/sbin/ip6t-firewall-gateway
Executable file
3414
CKUBU/sbin/ip6t-firewall-gateway
Executable file
File diff suppressed because it is too large
Load Diff
4130
CKUBU/sbin/ipt-firewall-gateway
Executable file
4130
CKUBU/sbin/ipt-firewall-gateway
Executable file
File diff suppressed because it is too large
Load Diff
20
CKUBU/sbin/rebind
Executable file
20
CKUBU/sbin/rebind
Executable file
@ -0,0 +1,20 @@
|
||||
#!/usr/bin/env 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
|
Reference in New Issue
Block a user