summaryrefslogtreecommitdiff
path: root/cfengine/script.update_sambashares.sh
diff options
context:
space:
mode:
Diffstat (limited to 'cfengine/script.update_sambashares.sh')
-rwxr-xr-xcfengine/script.update_sambashares.sh11
1 files changed, 0 insertions, 11 deletions
diff --git a/cfengine/script.update_sambashares.sh b/cfengine/script.update_sambashares.sh
deleted file mode 100755
index 4ace9aa..0000000
--- a/cfengine/script.update_sambashares.sh
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/bin/sh
-
-# Fail on error - to leave cf_tmpfile for investigation
-set -e
-
-m4 -DFQDN=$(hostname -f) /etc/local-COMMON/samba/smb-shares.conf.m4 >> /etc/samba/smb-shares.conf
-
-cf_tmpfile=`tempfile -p cf`
-m4 -DFQDN=$(hostname -f) /etc/local-COMMON/cfengine/cf.services.file.tmp.m4 > $cf_tmpfile
-cfengine -q -f $cf_tmpfile
-rm -f $cf_tmpfile