Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- sleep 5
- /usr/local/sbin/miniptables
- # chmod +x /etc/rc.d/rc.local
- # systemctl start rc-local
- # systemctl enable rc-local
- vim /etc/rc.d/rc.local
- chmod +x /etc/rc.d/rc.local
- restorecon -v /etc/rc.d/rc.local
- systemctl enable rc-local.service
- systemctl start rc-local.service
- systemctl status rc-local.service
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement