X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fdebian-org%2Ffiles%2Frc.local;h=d947009b3028a925e0b9d169923c5bb19d809f9c;hb=8a86f51a0ae85c9cc2b24ff0b9bf2ee1f6bf9f87;hp=c43038af4b177ecc118b6adfca8100e901883609;hpb=8d2d638478f7117eff03f376b24212dd71d99209;p=mirror%2Fdsa-puppet.git diff --git a/modules/debian-org/files/rc.local b/modules/debian-org/files/rc.local index c43038af4..d947009b3 100755 --- a/modules/debian-org/files/rc.local +++ b/modules/debian-org/files/rc.local @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash ## ## THIS FILE IS UNDER PUPPET CONTROL. DON'T EDIT IT HERE. @@ -6,5 +6,9 @@ ## if [ -e /proc/sys/kernel/modules_disabled ]; then - echo 1 > /proc/sys/kernel/modules_disabled || true + ( sleep 60; + echo 1 > /proc/sys/kernel/modules_disabled || true + ) & disown fi + +touch /var/run/reboot-lock