Guest User

Untitled

a guest
Feb 21st, 2018
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. #!/bin/sh -e
  2.  
  3. if [ "$1" = purge ]; then
  4. rm -rf /etc/samba/ /var/cache/samba/ /var/lib/samba/ /var/run/samba/
  5. if [ -x "`which ucf 2>/dev/null`" ]; then
  6. ucf --purge /etc/samba/smb.conf
  7. fi
  8. if [ -x "`which ucfr 2>/dev/null`" ]; then
  9. ucfr --purge samba-common /etc/samba/smb.conf
  10. fi
  11. fi
  12.  
  13. # Automatically added by dh_installdebconf
  14. if [ "$1" = purge ] && [ -e /usr/share/debconf/confmodule ]; then
  15. . /usr/share/debconf/confmodule
  16. db_purge
  17. fi
  18. # End automatically added section
Add Comment
Please, Sign In to add comment