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
26
26
sudo gcc -std=c99 $NETKIT_HOME /wrapper/netkit_dw.c -o $NETKIT_HOME /wrapper/bin/netkit_dw
27
27
else
28
28
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"
30
31
sudo rm $NETKIT_HOME /wrapper/bin/netkit_dw
31
32
sudo cp $NETKIT_HOME /wrapper/bin/fake_wrapper $NETKIT_HOME /wrapper/bin/netkit_dw
32
33
fi
@@ -38,7 +39,7 @@ if [ "$NOT_ADMIN" = "1" ]; then
38
39
sudo chattr -i $NETKIT_HOME /wrapper/bin/netkit_dw
39
40
sudo chmod 000 $NETKIT_HOME /wrapper/netkit_dw.c
40
41
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
42
43
43
44
else
44
45
sudo rm $NETKIT_HOME /../config
You can’t perform that action at this time.
0 commit comments