3
# cron script to save a backup copy of /etc/samba/smbpasswd in /var/backups.
5
# Written by Eloy A. Paris <peloy@debian.org> for the Debian project.
12
# Make sure /etc/samba/smbpasswd exists
13
if [ -f /etc/samba/smbpasswd ]; then
14
cmp -s smbpasswd.bak /etc/samba/smbpasswd || cp -p /etc/samba/smbpasswd smbpasswd.bak