diff options
Diffstat (limited to 'debian/local/finish-install.d')
| -rwxr-xr-x | debian/local/finish-install.d/51hurd_config-console | 3 | ||||
| -rwxr-xr-x | debian/local/finish-install.d/51hurd_config-target-network | 9 |
2 files changed, 12 insertions, 0 deletions
diff --git a/debian/local/finish-install.d/51hurd_config-console b/debian/local/finish-install.d/51hurd_config-console new file mode 100755 index 00000000..03cc7697 --- /dev/null +++ b/debian/local/finish-install.d/51hurd_config-console @@ -0,0 +1,3 @@ +#!/bin/sh + +[ -f /var/run/hurd-console.pid ] || sed -i -e "s/ENABLE='true'/ENABLE='false'/" /target/etc/default/hurd-console 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 100755 index 00000000..13191653 --- /dev/null +++ b/debian/local/finish-install.d/51hurd_config-target-network @@ -0,0 +1,9 @@ +#!/bin/sh + +# Make sure the firmlink is gone +settrans -ag /target/servers + +# Transfer the network configuration to /target +settrans -pk /target/servers/socket/2 $(fsysopts /servers/socket/2) -6 /servers/socket/26 +settrans -cpk /target/servers/socket/26 $(fsysopts /servers/socket/2) -4 /servers/socket/2 + |
