mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-02-04 08:13:38 +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"
|
||||
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)
|
||||
doReadCFG
|
||||
PROC=`pgrep ${TOOLNAME}`
|
||||
@ -252,7 +235,7 @@ case $cmd in
|
||||
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 "options are:"
|
||||
echo "-s <server> Gnudip Server address"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user