From ffa679b913eb0f4120484e0f5ef1118d08315937 Mon Sep 17 00:00:00 2001 From: simono41 Date: Sun, 8 Jul 2018 23:28:27 +0200 Subject: [PATCH] ping_user1 --- arch-graphical-install-auto | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch-graphical-install-auto b/arch-graphical-install-auto index 0a3773b..eda88b7 100755 --- a/arch-graphical-install-auto +++ b/arch-graphical-install-auto @@ -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]