修复ntpdata权限问题
This commit is contained in:
parent
d97a71a76e
commit
823b4b4d8d
|
@ -1,5 +1,8 @@
|
|||
#!/bin/bash
|
||||
|
||||
chown avs:avs /usr/sbin/ntpdate
|
||||
setcap 'CAP_NET_RAW+eip CAP_NET_ADMIN+eip' /usr/sbin/ntpdate
|
||||
|
||||
NIC_READY=`ifconfig | grep wlan0 | grep HWaddr | awk '{print $5}' | sed "s/://g"`
|
||||
|
||||
echo "++++++ Waitting NIC ready" > /tmp/avs-setup.log
|
||||
|
|
Loading…
Reference in New Issue