Yes that worked, but why is it necessary to run that separately from your install script?
Also, I just did a reboot. Here is the debug info that I get. When I ran it right after doing the separate swap file install, all said Passed.
admin@RT-AC86U-1BD0:/tmp/home/root# sh /jffs/scripts/firewall debug info
################################################################################
# _____ _ _ __ #
# / ____| | | | / / #
# | (___ | | ___ _ _ __ ___| |_ __ __/ /_ #
# \___ \| |/ / | | | '_ \ / _ \ __| \ \ / / '_ \ #
# ____) | <| |_| | | | | __/ |_ \ V /| (_) |#
# |_____/|_|\_\\__, |_| |_|\___|\__| \_/ \___/ #
# __/ | #
# |___/ #
# #
## - 18/11/2018 - Asus Firewall Addition By Adamm v6.6.1 #
##
https://github.com/Adamm00/IPSet_ASUS #
################################################################################
Router Model; RT-AC86U
Skynet Version; v6.6.1 (18/11/2018)
iptables v1.4.15 - (eth0 @ 192.168.2.1)
ipset v6.32, protocol version: 6
FW Version; 384.8_beta1 (Nov 16 2018) (4.1.27)
Install Dir; /tmp/mnt/data/skynet (25.6G / 27.5G Space Available)
SWAP File; /tmp/mnt/data/myswap.swp (512.5M)
Boot Args; /jffs/scripts/firewall start skynetloc=/tmp/mnt/data/skynet
Banned Countries; pk ir kp cn ru vn ua iq ng in br th id eg
No Lock File Found
---------------- | ------
Test Description | Result
---------------- | ------
Internet-Connectivity | [Passed]
Write Permission | [Passed]
Firewall-Start Entry | [Passed]
Services-Stop Entry | [Passed]
CronJobs | [Failed]
IPSet Comment Support | [Passed]
Log Level 5 Settings | [Passed]
Duplicate Rules In RAW | [Passed]
Inbound Filter Rules | [Failed]
Inbound Debug Rules | [Failed]
Outbound Filter Rules | [Failed]
Outbound Debug Rules | [Failed]
Whitelist IPSet | [Failed]
BlockedRanges IPSet | [Failed]
Blacklist IPSet | [Failed]
Skynet IPSet | [Failed]
------- | ------
Setting | Status
------- | ------
Autoupdate | [Enabled]
Auto-Banmalware Update | [Enabled]
Debug Mode | [Enabled]
Filter Traffic | [Enabled]
Unban PrivateIP | [Enabled]
Log Invalid | [Disabled]
Ban AiProtect | [Disabled]
Secure Mode | [Enabled]
Fast Switch | [Disabled]
7/16 Tests Sucessful
[#] 161454 IPs (+0) -- 30217 Ranges Banned (+0) || Inbound -- Outbound Connec]