From eb84f61d882ab5dfa2a4d8d899d1b47867e8c6a5 Mon Sep 17 00:00:00 2001 From: David Runge Date: Mon, 11 Jan 2016 15:35:35 +0100 Subject: bin/switch_wfs_os: Adding static path for reboot script on crappy ubuntu. Adding correct path for syslinux on Arch. --- bin/switch_wfs_os | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin') diff --git a/bin/switch_wfs_os b/bin/switch_wfs_os index 2b23fbf..3be00df 100755 --- a/bin/switch_wfs_os +++ b/bin/switch_wfs_os @@ -8,12 +8,12 @@ os_old="ubuntu-studio" os_current="" os_set="" -syslinux_location_arch="/mnt/boot/syslinux/syslinux.cfg" +syslinux_location_arch="/boot/syslinux/syslinux.cfg" syslinux_location_ubuntu="/mnt/boot/syslinux/syslinux.cfg" syslinux_location="" reboot_cmd_arch="sudo systemctl reboot" -reboot_cmd_ubuntu="sudo reboot -q" +reboot_cmd_ubuntu="/usr/bin/sudo /sboot/reboot -q" reboot_cmd="" hostnames_arch=( "wfs-master" "wfs-node1" "wfs-node2" ) -- cgit v1.2.3-70-g09d2