summaryrefslogtreecommitdiff
path: root/debian/local
diff options
context:
space:
mode:
Diffstat (limited to 'debian/local')
-rw-r--r--debian/local/finish-install.d/51hurd_config-target-network8
1 files changed, 8 insertions, 0 deletions
diff --git a/debian/local/finish-install.d/51hurd_config-target-network b/debian/local/finish-install.d/51hurd_config-target-network
new file mode 100644
index 00000000..9d78aede
--- /dev/null
+++ b/debian/local/finish-install.d/51hurd_config-target-network
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+# Make sure the firmlink is gone
+settrans -ag /target/servers
+
+# Transfer the network configuration to /target
+settrans -pk /target/servers/socket/2 $(showtrans /servers/socket/2)
+