File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,8 @@ if [ "$NOT_ADMIN" = "1" ]; then
2626 sudo gcc -std=c99 $NETKIT_HOME /wrapper/netkit_dw.c -o $NETKIT_HOME /wrapper/bin/netkit_dw
2727else
2828 echo -e " \033[0;33mAdmin mode\033[0m"
29- echo -e " \033[0;31mWARNING: unsafe installation, this will not create a wrapper and remove it if previously installed.\033[0m"
29+ echo -e " \033[0;31mWARNING: This will not create a wrapper or remove it if previously installed.\033[0m"
30+ echo -e " \033[0;33mIt will also require sudo to start network nodes and access them.\033[0m"
3031 sudo rm $NETKIT_HOME /wrapper/bin/netkit_dw
3132 sudo cp $NETKIT_HOME /wrapper/bin/fake_wrapper $NETKIT_HOME /wrapper/bin/netkit_dw
3233fi
@@ -38,7 +39,7 @@ if [ "$NOT_ADMIN" = "1" ]; then
3839 sudo chattr -i $NETKIT_HOME /wrapper/bin/netkit_dw
3940 sudo chmod 000 $NETKIT_HOME /wrapper/netkit_dw.c
4041 sudo rm $NETKIT_HOME /../config
41- echo " unix_bin=/wrapper/bin/netkit_dw" > $NETKIT_HOME /../config
42+ echo " unix_bin=$NETKIT_HOME /wrapper/bin/netkit_dw" > $NETKIT_HOME /../config
4243
4344else
4445 sudo rm $NETKIT_HOME /../config
You can’t perform that action at this time.
0 commit comments