Advertisement
Guest User

Untitled

a guest
Feb 21st, 2016
531
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.84 KB | None | 0 0
  1. 4.0K -rwxr-xr-x 1 root root 360 Feb 22 03:00 /etc/rc.local
  2.  
  3. #!/bin/sh -e
  4. #
  5. # rc.local
  6. #
  7. # This script is executed at the end of each multiuser runlevel.
  8. # Make sure that the script will "exit 0" on success or any other
  9. # value on error.
  10. #
  11. # In order to enable or disable this script just change the execution
  12. # bits.
  13. #
  14. # By default this script does nothing.
  15.  
  16. exit 0
  17. "/var/lib/man"
  18. "/var/lib/apt-cache"
  19.  
  20. mint / # ls -lshat /etc/rc.local
  21. 512 -rw-r--r-- 1 root root 172 Feb 17 17:03 man.sh
  22.  
  23. mint / # grep "/var/lib/man" /etc/* -r
  24. grep: /etc/blkid.tab: No such file or directory
  25. grep: /etc/nologin: No such file or directory
  26. /etc/rc.local:"/var/lib/man"
  27.  
  28. mint / # grep "/var/lib/apt-cache" /etc/* -r
  29. grep: /etc/blkid.tab: No such file or directory
  30. grep: /etc/nologin: No such file or directory
  31. /etc/rc.local:"/var/lib/apt-cache"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement