From: martin f. krafft <madduck@madduck.net>
Date: Thu, 13 Nov 2014 14:29:21 +0000 (+0100)
Subject: migrate post-boot cleanup to systemd
X-Git-Url: https://git.madduck.net/code/vinst.git/commitdiff_plain/ada1e9cf5f240c9ea792b715d48609f075fb87cb?ds=sidebyside;hp=b24e6815628d216f54a7fb57c82a74370258d50d

migrate post-boot cleanup to systemd
---

diff --git a/preseed/jessie/commands/late_commands.d/post_boot_cleanup b/preseed/jessie/commands/late_commands.d/post_boot_cleanup
index 569cfd8..4d03f20 100755
--- a/preseed/jessie/commands/late_commands.d/post_boot_cleanup
+++ b/preseed/jessie/commands/late_commands.d/post_boot_cleanup
@@ -19,7 +19,7 @@ if [ -f /etc/inittab ]; then
 else
 
   SCRIPT=/usr/local/sbin/post_boot_cleanup
-  UNIT=/etc/systemd/system/post_boot_cleanup.service
+  UNIT=/etc/systemd/system/multi-user.target.wants/post_boot_cleanup.service
 
   cat >> $SCRIPT <<-_eof
 	#!/bin/sh