File: ipset-persistent.config

package info (click to toggle)
iptables-persistent 1.0.15
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 252 kB
  • sloc: sh: 358; makefile: 17
file content (13 lines) | stat: -rw-r--r-- 235 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

set -e

# Source debconf library
. /usr/share/debconf/confmodule

db_get ipset-persistent/autosave_done || true
if [ "x$RET" != "xtrue" ]; then
	# Save ipset rules?
	db_input high ipset-persistent/autosave || true
	db_go
fi