File: config

package info (click to toggle)
macchanger 1.7.0-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,124 kB
  • sloc: sh: 1,421; ansic: 601; python: 44; makefile: 28
file content (25 lines) | stat: -rw-r--r-- 432 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/bin/sh

set -e

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


if [ -f /etc/default/macchanger ]; then
    ENABLE_ON_POST_UP_DOWN=false
    . /etc/default/macchanger

    if [ "$ENABLE_ON_POST_UP_DOWN" = "true" ]; then
        db_set macchanger/automatically_run true
    else
        db_set macchanger/automatically_run false
    fi
fi

db_input high macchanger/automatically_run || true
db_go

#DEBHELPER#

exit 0