Advertisement
Guest User

Untitled

a guest
Jul 24th, 2017
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. #!/bin/bash
  2. sleep 5
  3. /usr/local/sbin/miniptables
  4.  
  5. # chmod +x /etc/rc.d/rc.local
  6.  
  7. # systemctl start rc-local
  8. # systemctl enable rc-local
  9.  
  10. vim /etc/rc.d/rc.local
  11. chmod +x /etc/rc.d/rc.local
  12. restorecon -v /etc/rc.d/rc.local
  13. systemctl enable rc-local.service
  14. systemctl start rc-local.service
  15. systemctl status rc-local.service
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement