mirror of
https://github.com/unraid/webgui.git
synced 2026-05-04 08:49:47 -05:00
let dhcpcd have 45 sec instead of 30 to get an IP address
This commit is contained in:
+1
-1
@@ -68,7 +68,7 @@ if /bin/grep -wq cgroup /proc/filesystems; then
|
||||
if [[ -d /sys/fs/cgroup ]]; then
|
||||
# See https://docs.kernel.org/admin-guide/cgroup-v2.html (section Mounting)
|
||||
# Mount cgroup2 filesystem
|
||||
mount -t cgroup2 -o rw,nosuid,nodev,noexec,relatime,nsdelegate,memory_recursiveprot cgroup2 /sys/fs/cgroup
|
||||
/sbin/mount -t cgroup2 -o rw,nosuid,nodev,noexec,relatime,nsdelegate,memory_recursiveprot cgroup2 /sys/fs/cgroup
|
||||
else
|
||||
# Display message if /sys/fs/cgroup does not exist
|
||||
echo "/sys/fs/cgroup does not exist. cgroup2 cannot be mounted."
|
||||
|
||||
@@ -227,7 +227,7 @@ mv $INI ${INI%.*}
|
||||
|
||||
log "interface=${interface:-$1}, reason=$reason, protocol=$protocol"
|
||||
# delayed execution
|
||||
/usr/local/emhttp/webGui/scripts/update_services 30
|
||||
/usr/local/emhttp/webGui/scripts/update_services 45
|
||||
|
||||
# send update information
|
||||
if [[ -n $DATA && -e /var/run/nginx.socket ]]; then
|
||||
|
||||
Reference in New Issue
Block a user