6.4.1 #65
|
@ -51,6 +51,7 @@ echo -e '
|
||||||
\n'
|
\n'
|
||||||
|
|
||||||
SYNC_USER="$(ls /home|awk '/jbsync/{print}')"
|
SYNC_USER="$(ls /home|awk '/jbsync/{print}')"
|
||||||
|
DOMAIN="$(ls /etc/prosody/conf.d/ | awk -F'.cfg' '!/localhost/{print $1}' | awk '!NF || !seen[$0]++')"
|
||||||
|
|
||||||
echo "We are about to remove and clean all the jitsi-meet platform bits and pieces...
|
echo "We are about to remove and clean all the jitsi-meet platform bits and pieces...
|
||||||
Please make sure you have backed up anything you don't want to loose."
|
Please make sure you have backed up anything you don't want to loose."
|
||||||
|
@ -110,6 +111,9 @@ remove_residuals /opt/jitsi
|
||||||
remove_residuals /usr/share/jicofo
|
remove_residuals /usr/share/jicofo
|
||||||
remove_residuals /usr/share/jitsi-*
|
remove_residuals /usr/share/jitsi-*
|
||||||
|
|
||||||
|
#Clean /etc/hosts
|
||||||
|
sed -i "/$DOMAIN/d" /etc/hosts
|
||||||
|
|
||||||
#Purging debconf db
|
#Purging debconf db
|
||||||
purge_debconf jicofo
|
purge_debconf jicofo
|
||||||
purge_debconf jigasi
|
purge_debconf jigasi
|
||||||
|
|
Loading…
Reference in New Issue