mirror of
https://github.com/hak5/nano-tetra-modules.git
synced 2025-10-29 16:58:09 +00:00
Maintenance for a few modules (#42)
This commit is contained in:
@@ -12,8 +12,8 @@ touch /tmp/ngrep.progress
|
||||
|
||||
if [ "$1" = "install" ]; then
|
||||
if [ "$2" = "internal" ]; then
|
||||
opkg update
|
||||
opkg install ngrep
|
||||
opkg update
|
||||
opkg install ngrep
|
||||
elif [ "$2" = "sd" ]; then
|
||||
opkg update
|
||||
opkg install ngrep --dest sd
|
||||
|
||||
@@ -11,6 +11,6 @@ if [ "$1" = "start" ]; then
|
||||
eval ${MYCMD}
|
||||
rm -rf /tmp/ngrep.run
|
||||
elif [ "$1" = "stop" ]; then
|
||||
killall ngrep
|
||||
killall -9 ngrep
|
||||
rm -rf /tmp/ngrep.run
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user