mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-07-25 09:28:50 +00:00
Merge pull request #12136 from opensourcerouting/fix/drop_leftovers
tools: Do not try creating /proc with install command
This commit is contained in:
commit
a654221c70
@ -524,7 +524,7 @@ convert_daemon_prios
|
||||
|
||||
if [ ! -d $V_PATH ]; then
|
||||
echo "Creating $V_PATH"
|
||||
install -g "$FRR_GROUP" -o "$FRR_USER" -m "$FRR_CONFIG_MODE" -d /proc "$V_PATH"
|
||||
install -g "$FRR_GROUP" -o "$FRR_USER" -m "$FRR_CONFIG_MODE" -d "$V_PATH"
|
||||
chmod gu+x "${V_PATH}"
|
||||
fi
|
||||
|
||||
|
@ -161,7 +161,7 @@ daemon_start() {
|
||||
[ "$MAX_FDS" != "" ] && ulimit -n "$MAX_FDS" > /dev/null 2> /dev/null
|
||||
daemon_prep "$daemon" "$inst" || return 1
|
||||
if test ! -d "$V_PATH"; then
|
||||
install -g "$FRR_GROUP" -o "$FRR_USER" -m "$FRR_CONFIG_MODE" -d /proc "$V_PATH"
|
||||
install -g "$FRR_GROUP" -o "$FRR_USER" -m "$FRR_CONFIG_MODE" -d "$V_PATH"
|
||||
chmod gu+x "${V_PATH}"
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user