mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-08-26 12:46:08 +00:00
removed obsolete install options because installation process is done by package framework now
This commit is contained in:
parent
c31161a056
commit
e91aa7fa44
@ -212,23 +212,6 @@ case $cmd in
|
|||||||
echo "no update recorded since last config change"
|
echo "no update recorded since last config change"
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
install)
|
|
||||||
cd /tmp/ && apt-get download ${TOOLNAME}
|
|
||||||
dpkg --unpack ${TOOLNAME}*.deb
|
|
||||||
rm /var/lib/dpkg/info/${TOOLNAME}.postinst
|
|
||||||
dpkg --configure ${TOOLNAME}
|
|
||||||
apt-get install -yf
|
|
||||||
rm ${TOOLNAME}*.deb
|
|
||||||
cd -
|
|
||||||
;;
|
|
||||||
uninstall)
|
|
||||||
apt-get -y remove --purge ez-ipupdate
|
|
||||||
;;
|
|
||||||
get-installed)
|
|
||||||
if [ ! -z ${UPDATE_TOOL} ];then
|
|
||||||
echo "installed"
|
|
||||||
fi
|
|
||||||
;;
|
|
||||||
status)
|
status)
|
||||||
doReadCFG
|
doReadCFG
|
||||||
PROC=`pgrep ${TOOLNAME}`
|
PROC=`pgrep ${TOOLNAME}`
|
||||||
@ -252,7 +235,7 @@ case $cmd in
|
|||||||
rm ${CFGDIR}/*
|
rm ${CFGDIR}/*
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
echo "usage: get-installed|status|configure <options>|start|stop|update|get-nat|clean|success|failed"
|
echo "usage: status|configure <options>|start|stop|update|get-nat|clean|success|failed"
|
||||||
echo ""
|
echo ""
|
||||||
echo "options are:"
|
echo "options are:"
|
||||||
echo "-s <server> Gnudip Server address"
|
echo "-s <server> Gnudip Server address"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user