Skip to content

Commit

Permalink
Fixed genimage, should build now
Browse files Browse the repository at this point in the history
  • Loading branch information
o7-machinehum committed Feb 10, 2025
1 parent 5de2b4e commit 60e0479
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 8 deletions.
6 changes: 4 additions & 2 deletions genimage/genimage.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ image userfs.vfat {
files = {
"readme.txt",
"blackhat.conf",
"index.html"
"opennds/theme_click-to-continue-legacy.sh",
"opennds/splash.html",
"opennds/README.md"
}
}
size = 64M
Expand All @@ -21,7 +23,7 @@ image sdcard.img {
}

partition userfs {
image = "userfs.vfat"
image = "userfs.vfat"
partition-type = 0xc
offset = 1M
}
Expand Down
8 changes: 6 additions & 2 deletions genimage/post-build.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
#!/bin/sh

# this ... ???
cp $BINARIES_DIR/boot.scr $TARGET_DIR/boot/boot.scr
cp $CONFIG_DIR/../genimage/readme.txt $BINARIES_DIR
cp $CONFIG_DIR/../package/blackhat/src/blackhat.conf $BINARIES_DIR

mkdir $BINARIES_DIR 2>/dev/null
cp $CONFIG_DIR/../genimage/readme.txt $BINARIES_DIR/
cp $CONFIG_DIR/../package/blackhat/src/blackhat.conf $BINARIES_DIR/

mkdir $BINARIES_DIR/opennds
cp $CONFIG_DIR/../package/blackhat/src/opennds/* $BINARIES_DIR/opennds/
Expand Down
8 changes: 4 additions & 4 deletions rootfs_overlay/etc/config/opennds
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ config opennds
# The ThemeSpec file will normally reside in /usr/lib/opennds/ but can be anywhere accessible to openNDS.
# The file must be flagged as executable and have the correct shebang for the default shell.
#
option themespec_path '/mnt/splash.html'
option themespec_path '/mnt/theme_click-to-continue-legacy.sh'
###########################################################################################

# Custom DHCP Leases File Location
Expand Down Expand Up @@ -758,7 +758,7 @@ config opennds
#
# Any entries set here, or above in Block Access, will override the default
#
# Example:
# Example:
# Grant access to https web sites, subject to firewall rules that might be set elsewhere.
#list authenticated_users 'allow tcp port 443'
#
Expand Down Expand Up @@ -792,7 +792,7 @@ config opennds
# This can be problematic as sites can use many dynamic ip addresses.
# However, manual configuration does not require any additional dependencies (ie additional installed packages).
#
# Note that standard unencrypted HTTP port (TCP port 80) is used for captive portal detection (CPD) and
# Note that standard unencrypted HTTP port (TCP port 80) is used for captive portal detection (CPD) and
# access to external websites should use HTTPS (TCP port 443) for security.
# It is still possible to allow TCP port 80 by using Autonomous Walled Garden approach.
#
Expand All @@ -811,7 +811,7 @@ config opennds
# But it does require the dnsmasq-full package (and also the ipset package if dnsmasq does not support nftsets) to be installed
#
# Configuration is then a simple matter of adding two lists as follows:
#
#
# list walledgarden_fqdn_list 'fqdn1 fqdn2 fqdn3 .... fqdnN'
# list walledgarden_port_list 'port1 port2 port3 .... portN'
#
Expand Down

0 comments on commit 60e0479

Please sign in to comment.