File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change 11#! /usr/bin/env sh
22_user=${SUDO_USER:- $(whoami)}
3- _upgrade=" No"
43_nodetype=" masternode"
54
65for opt in " $@ "
76do
8- if [ $opt = " -masternode" ] ; then
7+ if [ " $opt " = " -masternode" ] ; then
98 _nodetype=" masternode"
10- elif [ $opt = " -gatewaynode" ] ; then
9+ elif [ " $opt " = " -gatewaynode" ] ; then
1110 _nodetype=" gatewaynode"
12- elif [ $opt = " -servicenode" ] ; then
11+ elif [ " $opt " = " -servicenode" ] ; then
1312 _nodetype=" servicenode"
1413 else
1514 echo " Invalid option: $opt "
@@ -41,7 +40,7 @@ sudo systemctl stop ether1node && sudo systemctl disable ether1node
4140sudo rm /etc/systemd/system/ether1node.service
4241# Remove IPFS
4342sudo rm /usr/sbin/ifps
44- sudo rm -r $HOME /.ipfs
43+ sudo rm -r " $HOME " /.ipfs
4544sudo systemctl stop ipfs && sudo systemctl disable ipfs
4645sudo rm /etc/systemd/system/ipfs.service
4746# Remove ethoFS
You can’t perform that action at this time.
0 commit comments