summaryrefslogtreecommitdiffstats
path: root/scripts/gutsy
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/gutsy')
-rw-r--r--scripts/gutsy1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/gutsy b/scripts/gutsy
index 90e1d5d..4e88b9e 100644
--- a/scripts/gutsy
+++ b/scripts/gutsy
@@ -161,6 +161,7 @@ echo \"Warning: Fake start-stop-daemon called, doing nothing\"" > "$TARGET/sbin/
mv "$TARGET/sbin/initctl" "$TARGET/sbin/initctl.REAL"
echo \
"#!/bin/sh
+if [ \"\$1\" = version ]; then exec /sbin/initctl.REAL \"\$@\"; fi
echo
echo \"Warning: Fake initctl called, doing nothing\"" > "$TARGET/sbin/initctl"
chmod 755 "$TARGET/sbin/initctl"