Maintenance for a few modules (#42)

This commit is contained in:
WM
2018-08-27 02:32:32 +02:00
committed by Sebastian Kinne
parent 13b3c40d76
commit a5d7d19cd5
161 changed files with 16954 additions and 10056 deletions

View File

@@ -12,14 +12,13 @@ touch /tmp/dump1090.progress
if [ "$1" = "install" ]; then
if [ "$2" = "internal" ]; then
opkg update
opkg install dump1090
opkg update
opkg install dump1090
elif [ "$2" = "sd" ]; then
opkg update
opkg install dump1090 --dest sd
ln -s /sd/usr/share/dump1090/ /usr/share/dump1090
fi
touch /etc/config/dump1090
@@ -30,8 +29,8 @@ if [ "$1" = "install" ]; then
uci commit dump1090.module.installed
elif [ "$1" = "remove" ]; then
opkg remove dump1090
rm -rf /etc/config/dump1090
opkg remove dump1090
rm -rf /etc/config/dump1090
fi
rm /tmp/dump1090.progress

View File

@@ -38,6 +38,6 @@ if [ "$1" = "start" ]; then
fi
elif [ "$1" = "stop" ]; then
killall -9 dump1090
killall -9 dump1090
killall -9 nc
fi