]> git.donarmstrong.com Git - dsa-puppet.git/blobdiff - modules/debian-org/files/rc.local
mail-big-homedirs: never touch the homedir of the buildd user
[dsa-puppet.git] / modules / debian-org / files / rc.local
index 4d8738d4a2030c54664c8ff95753201889b167db..d947009b3028a925e0b9d169923c5bb19d809f9c 100755 (executable)
@@ -1,5 +1,14 @@
-#!/bin/sh
+#!/bin/bash
+
+##
+## THIS FILE IS UNDER PUPPET CONTROL. DON'T EDIT IT HERE.
+## USE: git clone git+ssh://$USER@puppet.debian.org/srv/puppet.debian.org/git/dsa-puppet.git
+##
 
 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