mirror of
https://github.com/angryip/ipscan.git
synced 2025-10-26 11:18:17 +00:00
6 lines
224 B
Bash
Executable File
6 lines
224 B
Bash
Executable File
#!/bin/sh
|
|
java=$JAVA_HOME/bin/java
|
|
[ ! -e "$java" ] && java=java
|
|
"$java" --add-opens java.base/java.net=ALL-UNNAMED -jar /usr/lib*/ipscan/ipscan*.jar "$@"
|
|
[ $? != 0 ] && notify-send "You need Java/OpenJDK 11+ to run ipscan"
|