ping_user1
This commit is contained in:
parent
e33a1f0338
commit
ffa679b913
1 changed files with 5 additions and 0 deletions
|
@ -613,6 +613,11 @@ if ! grep '#!' $RCLOCAL; then
|
||||||
echo "#!/bin/bash" > $RCLOCAL
|
echo "#!/bin/bash" > $RCLOCAL
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if ! grep 'setcap cap_net_raw+ep /bin/ping' $RCLOCAL; then
|
||||||
|
echo "setcap cap_net_raw+ep /bin/ping" >> $RCLOCAL
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
# Install rc.shutdown
|
# Install rc.shutdown
|
||||||
|
|
||||||
echo "[Unit]
|
echo "[Unit]
|
||||||
|
|
Loading…
Reference in a new issue