summaryrefslogtreecommitdiff
path: root/templates/system/package/auto-sync/node.def
diff options
context:
space:
mode:
authorAn-Cheng Huang <ancheng@vyatta.com>2007-10-19 11:25:38 -0700
committerAn-Cheng Huang <ancheng@vyatta.com>2007-10-19 11:25:38 -0700
commit724e9418e3f6acf81fcc29172de6c1f5e3335fa7 (patch)
tree384b0be3e93a8de0b0d890f5fee18d04590ea01c /templates/system/package/auto-sync/node.def
parent20c7a06a9dd38fb705a245cb755a351241113461 (diff)
downloadvyatta-cfg-724e9418e3f6acf81fcc29172de6c1f5e3335fa7.tar.gz
vyatta-cfg-724e9418e3f6acf81fcc29172de6c1f5e3335fa7.zip
move "system" configuration templates/scripts to vyatta-cfg-system.
Diffstat (limited to 'templates/system/package/auto-sync/node.def')
-rw-r--r--templates/system/package/auto-sync/node.def15
1 files changed, 0 insertions, 15 deletions
diff --git a/templates/system/package/auto-sync/node.def b/templates/system/package/auto-sync/node.def
deleted file mode 100644
index 59f3e1e..0000000
--- a/templates/system/package/auto-sync/node.def
+++ /dev/null
@@ -1,15 +0,0 @@
-# this will set APT::Periodic::Update-Package-Lists in /etc/apt/apt.conf
-# apt.conf is in turn read by the apt cron file loacted in /etc/cron.daily/apt
-# the /etc/crontab file must have the daily line for daily to be run
-type: u32
-default: 1
-help: "Update the the repository cache every n days. 0 disables auto-update."
-syntax: $(@) >= 0 && $(@) < 32 ; "auto-sync must be between 0 and 32 days"
-create: "sh -c \"touch /etc/apt/apt.conf && \
-sed -i '/APT::Periodic::Update-Package-Lists*/d' /etc/apt/apt.conf && \
-echo \\\"APT::Periodic::Update-Package-Lists \\\"$(@)\\\";\\\" >> /etc/apt/apt.conf\" "
-update: "sh -c \"touch /etc/apt/apt.conf && \
-sed -i '/APT::Periodic::Update-Package-Lists*/d' /etc/apt/apt.conf && \
-echo \\\"APT::Periodic::Update-Package-Lists \\\"$(@)\\\";\\\" >> /etc/apt/apt.conf\" "
-delete: "sh -c \"touch /etc/apt/apt.conf && \
-sed -i '/APT::Periodic::Update-Package-Lists*/d' /etc/apt/apt.conf\" "