summaryrefslogtreecommitdiff
path: root/packaging/Debian/debian-unstable/samba.cron.daily
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/Debian/debian-unstable/samba.cron.daily')
-rw-r--r--packaging/Debian/debian-unstable/samba.cron.daily16
1 files changed, 0 insertions, 16 deletions
diff --git a/packaging/Debian/debian-unstable/samba.cron.daily b/packaging/Debian/debian-unstable/samba.cron.daily
deleted file mode 100644
index 42fc98d8f6..0000000000
--- a/packaging/Debian/debian-unstable/samba.cron.daily
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/bin/sh
-#
-# cron script to save a backup copy of /etc/samba/smbpasswd in /var/backups.
-#
-# Written by Eloy A. Paris <peloy@debian.org> for the Debian project.
-#
-
-BAK=/var/backups
-
-umask 022
-if cd $BAK; then
- # Make sure /etc/samba/smbpasswd exists
- if [ -f /etc/samba/smbpasswd ]; then
- cmp -s smbpasswd.bak /etc/samba/smbpasswd || cp -p /etc/samba/smbpasswd smbpasswd.bak
- fi
-fi