summarylogtreecommitdiffstats
path: root/linux-wifi-hotspot.install
blob: 5502bfb4716964f1ad3b089cbb840e9913e33600 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
post_install() {
  echo ""
  echo "Start the hotspot service on startup (using your saved configuration) with:"
  echo "systemctl enable --now create_ap"
  echo ""
}

post_upgrade() {

  # Remove old file from previous versions if existing
  if [ -f /etc/sudoers.d/create_ap ]; then
    rm /etc/sudoers.d/create_ap
  fi
}

post_remove() {
  echo ""
  echo "Optionally remove config file:"
  echo "sudo rm /etc/wh.config"
  echo ""
}