Skip to content

Commit

Permalink
Merge branch 'main' of github.com:LINCnil/scripts-vm-cel
Browse files Browse the repository at this point in the history
  • Loading branch information
breard-r committed Mar 18, 2024
2 parents a72d246 + 6f2a1b2 commit 918c7b3
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
13 changes: 13 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: ci
on: [push, pull_request]

jobs:
test:
name: shellcheck
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install shellcheck
run: sudo apt update && sudo apt install -y shellcheck
- name: Run shellcheck
run: shellcheck bootstrap.sh configure.sh finalize_install.sh wifi_ap_setup.sh
2 changes: 1 addition & 1 deletion wifi_ap_setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ sysctl net.ipv6.conf.all.forwarding=1
systemctl restart nftables.service
nft flush ruleset
nft add table inet nat
nft add chain inet nat postrouting { type nat hook postrouting priority 100 \; }
nft add chain inet nat postrouting "{" type nat hook postrouting priority 100 \; "}"
nft add rule inet nat postrouting oifname "${OUT_INTERFACE}" masquerade

# Configuration du point d'access
Expand Down

0 comments on commit 918c7b3

Please sign in to comment.