Skip to content

Commit

Permalink
v1.1.0 fix install
Browse files Browse the repository at this point in the history
  • Loading branch information
DennoN-RUS committed Sep 25, 2024
1 parent 99dfe76 commit 6064148
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Install/install_func.sh
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,8 @@ fill_folder_and_sed_func(){
# Copying the ipset configuration file
copy_ipset4static_config_func(){
cp $HOME_FOLDER/Install/common/ipset4static.conf $SYSTEM_FOLDER/etc/ipset4static.conf
sed -i 's/MODEINPUT/'$MODE'/; s/CONFINPUT/'$VCONF'/; s/TTL=.*/TTL='$VTTL'/' $SYSTEM_FOLDER/etc/ipset4static.conf
sed -i 's/MODEINPUT/'$MODE'/; s/CONFINPUT/'$VCONF'/' $SYSTEM_FOLDER/etc/ipset4static.conf
if [ -n "$VTTL" ]; then sed -i 's/TTL=.*/TTL='$VTTL'/' $SYSTEM_FOLDER/etc/ipset4static.conf; fi
}

# Show interfaces
Expand Down

0 comments on commit 6064148

Please sign in to comment.