summaryrefslogtreecommitdiff
path: root/debian/local
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2010-08-18 00:53:05 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2010-08-18 00:53:05 +0200
commit186418c4c86652e4c400f3d0a419795533f4d9f0 (patch)
treef331fe7f52256f6d06a97fb7a6de5fc11c82f3fe /debian/local
parenta2255fcca01600314f688cab429b10aade0ad508 (diff)
copy the /servers/socket/2 translator settings into the target system.
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)
+