-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4679 from esselfe/ppp-01
ppp: version bumped to 2.5.1
- Loading branch information
Showing
2 changed files
with
9 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,8 +3,6 @@ | |
add_priv_group ppp && | ||
|
||
OPTS+=" --disable-static \ | ||
--enable-hashes=strong,glibc \ | ||
--disable-failure-tokens \ | ||
--sbindir=/usr/bin \ | ||
--sysconfdir=/etc/ppp \ | ||
--runstatedir=/run \ | ||
|
@@ -32,7 +30,11 @@ fi && | |
|
||
chown -R root:ppp /usr/bin/pppd /etc/ppp && | ||
chmod 4750 /usr/bin/pppd && | ||
chmod 600 /etc/ppp/ppp/*-secrets && | ||
|
||
# On my machine those files exist, but not on the CI environment, so add a check. | ||
if [ -f /etc/ppp/ppp/*-secrets ]; then | ||
chmod 600 /etc/ppp/ppp/*-secrets | ||
fi && | ||
|
||
if module_installed systemd; then | ||
install -D -m644 $SCRIPT_DIRECTORY/system.d/ppp.service /usr/lib/systemd/system/[email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters