summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortorben2018-10-25 20:14:35 +0200
committertorben2018-10-25 20:14:35 +0200
commit8ab9a4f00da8070c658d65d737e0250537fc9f67 (patch)
tree4a02e04d69db67e58c98e55ef8e1013f23c1f557
parentUpdate bashlink for high level text-boxes with dialog. (diff)
downloadsystemd-init-8ab9a4f00da8070c658d65d737e0250537fc9f67.tar.gz
systemd-init-8ab9a4f00da8070c658d65d737e0250537fc9f67.tar.xz
systemd-init-8ab9a4f00da8070c658d65d737e0250537fc9f67.zip
Prepare reference system for presentation.
-rwxr-xr-xmodules.d/systemd-networkd-ext/hooks/prepare-network-service-in-newroot.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules.d/systemd-networkd-ext/hooks/prepare-network-service-in-newroot.sh b/modules.d/systemd-networkd-ext/hooks/prepare-network-service-in-newroot.sh
index 1c962f65..94002d44 100755
--- a/modules.d/systemd-networkd-ext/hooks/prepare-network-service-in-newroot.sh
+++ b/modules.d/systemd-networkd-ext/hooks/prepare-network-service-in-newroot.sh
@@ -100,7 +100,8 @@ if $SLX_ONLINE; then
# Login to tty1 version, works:
cat << EOF >"$NEWROOT/root/.bash_profile"
if [ ! -f /tmp/wireless-daemon-restarted ]; then
- wget --output-document - http://10.21.9.111:8080/BOOTED
+ #wget --output-document - http://10.21.9.111:8080/BOOTED
+ alias reboot='echo s > /proc/sysrq-trigger && echo b > /proc/sysrq-trigger'
systemctl start restart-wireless-daemon.service
touch /tmp/wireless-daemon-restarted
/run/initramfs/usr/bin/killall --signal HUP -- dnbd-server