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
|
||||
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
|
||||
|
||||
echo "[Unit]
|
||||
|
|
Loading…
Reference in a new issue