summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-polipo
diff options
context:
space:
mode:
authorFlorian Eckert <fe@dev.tdt.de>2024-04-16 08:44:31 +0200
committerGitHub <noreply@github.com>2024-04-16 08:44:31 +0200
commitd5c413d2853fde0d5cec98641606a0a30f93281c (patch)
treedfc648c2c1881e7510c3b1857f3e2c7e11912c34 /applications/luci-app-polipo
parentb5b14a48c7d8c81cc765ada82df524caa5fe38cd (diff)
parent4cffc9fd63d43f13942e28aa972d128a3cd35f77 (diff)
Merge pull request #7056 from TDT-AG/pr/20240411-ucitrack
luci-base: conversion of ucitrack handling from uci to json
Diffstat (limited to 'applications/luci-app-polipo')
-rwxr-xr-xapplications/luci-app-polipo/root/etc/uci-defaults/40_luci-polipo10
-rw-r--r--applications/luci-app-polipo/root/usr/share/ucitrack/luci-app-polipo.json4
2 files changed, 4 insertions, 10 deletions
diff --git a/applications/luci-app-polipo/root/etc/uci-defaults/40_luci-polipo b/applications/luci-app-polipo/root/etc/uci-defaults/40_luci-polipo
deleted file mode 100755
index 60af421389..0000000000
--- a/applications/luci-app-polipo/root/etc/uci-defaults/40_luci-polipo
+++ /dev/null
@@ -1,10 +0,0 @@
-#!/bin/sh
-
-uci -q batch <<-EOF >/dev/null
- delete ucitrack.@polipo[-1]
- add ucitrack polipo
- set ucitrack.@polipo[-1].init=polipo
- commit ucitrack
-EOF
-
-exit 0
diff --git a/applications/luci-app-polipo/root/usr/share/ucitrack/luci-app-polipo.json b/applications/luci-app-polipo/root/usr/share/ucitrack/luci-app-polipo.json
new file mode 100644
index 0000000000..a68a368034
--- /dev/null
+++ b/applications/luci-app-polipo/root/usr/share/ucitrack/luci-app-polipo.json
@@ -0,0 +1,4 @@
+{
+ "config": "polipo",
+ "init": "polipo"
+}