diff options
author | Christian Poessinger <christian@poessinger.com> | 2018-09-02 13:27:20 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2018-09-02 13:27:20 +0200 |
commit | f376e679eb75b990f8f73feab80e34d485a28178 (patch) | |
tree | 06e4d512b9524882c124e6b330be5c1411f388fc /templates/system/package/auto-sync | |
parent | c915ac0722b5ec8782d4fe3748116b98f9fe978f (diff) | |
download | vyatta-cfg-system-f376e679eb75b990f8f73feab80e34d485a28178.tar.gz vyatta-cfg-system-f376e679eb75b990f8f73feab80e34d485a28178.zip |
T825: remove deprecated 'set system package'
Diffstat (limited to 'templates/system/package/auto-sync')
-rw-r--r-- | templates/system/package/auto-sync/node.def | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/templates/system/package/auto-sync/node.def b/templates/system/package/auto-sync/node.def deleted file mode 100644 index 9eec0faa..00000000 --- a/templates/system/package/auto-sync/node.def +++ /dev/null @@ -1,18 +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:expression: $VAR(@) >= 0 && $VAR(@) < 32 ; "auto-sync must be between 0 and 32 days" - -update:expression: "sudo 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 \\\"$VAR(@)\\\";\\\" >> /etc/apt/apt.conf\" " - -delete:expression: "sudo sh -c \"touch /etc/apt/apt.conf && \ - sed -i '/APT::Periodic::Update-Package-Lists*/d' /etc/apt/apt.conf\" " |