mirror of
https://github.com/sixfab/Sixfab_PPP_Installer
synced 2024-11-13 23:04:53 +00:00
Fixing access to /etc/ppp/chap-secrets
This commit is contained in:
parent
d920f6d0dd
commit
1b4fd90a1d
@ -132,6 +132,8 @@ sed -i "s/#APN/$carrierapn/" provider
|
||||
sed -i "s/#DEVICE/$devicename/" provider
|
||||
mv provider /etc/ppp/peers/provider
|
||||
|
||||
chmod 600 /etc/ppp/*-secrets
|
||||
|
||||
|
||||
if ! (grep -q 'sudo route' /etc/ppp/ip-up ); then
|
||||
echo "sudo route add default ppp0" >> /etc/ppp/ip-up
|
||||
|
Loading…
Reference in New Issue
Block a user