aboutsummaryrefslogtreecommitdiffstats
path: root/bin/switch_wfs_os
diff options
context:
space:
mode:
authorDavid Runge <dave@sleepmap.de>2016-01-11 15:35:35 +0100
committerDavid Runge <dave@sleepmap.de>2016-01-11 15:35:35 +0100
commiteb84f61d882ab5dfa2a4d8d899d1b47867e8c6a5 (patch)
treecdeaec98293af262545a874049c9ce883f8ef968 /bin/switch_wfs_os
parent549c9fbc737af0de8e93dab39644738af940c3e9 (diff)
downloaddotfiles-eb84f61d882ab5dfa2a4d8d899d1b47867e8c6a5.tar.gz
dotfiles-eb84f61d882ab5dfa2a4d8d899d1b47867e8c6a5.tar.bz2
dotfiles-eb84f61d882ab5dfa2a4d8d899d1b47867e8c6a5.tar.xz
dotfiles-eb84f61d882ab5dfa2a4d8d899d1b47867e8c6a5.zip
bin/switch_wfs_os: Adding static path for reboot script on crappy ubuntu. Adding correct path for syslinux on Arch.
Diffstat (limited to 'bin/switch_wfs_os')
-rwxr-xr-xbin/switch_wfs_os4
1 files changed, 2 insertions, 2 deletions
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" )