summarylogtreecommitdiffstats
path: root/linux-wifi-hotspot.install
blob: a0256ca6ef2a39b3181b64fe9380333ca39e64eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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
  rm -f /etc/sudoers.d/create_ap
}

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