diff --git a/examples/archlinux/enable-hibernation-from-swapfile.sh b/examples/archlinux/enable-hibernation-from-swapfile.sh index 0cb2f21..6496b81 100644 --- a/examples/archlinux/enable-hibernation-from-swapfile.sh +++ b/examples/archlinux/enable-hibernation-from-swapfile.sh @@ -30,7 +30,7 @@ sudo findmnt -no UUID -T /swap/swapfile curl --location --output /tmp/btrfs_map_physical.c https://raw.githubusercontent.com/osandov/osandov-linux/master/scripts/btrfs_map_physical.c gcc -O2 -o /tmp/btrfs_map_physical /tmp/btrfs_map_physical.c chmod a+x /tmp/btrfs_map_physical -physical_offset=$(sudo /tmp/btrfs_map_physical /swap/swapfile | awk '$1==0 {print $NF}') # last column of the line starting with 0 +physical_offset=$(sudo /tmp/btrfs_map_physical /swap/swapfile | awk '$1==0 {print $NF}') # last column of the line starting with 0 resume_offset=$(( ${physical_offset} / $(getconf PAGESIZE) )) # configure the bootloader diff --git a/scripts/opensuse/dropbox.install.sh b/scripts/opensuse/dropbox.install.sh index 7ec9124..1af0f91 100755 --- a/scripts/opensuse/dropbox.install.sh +++ b/scripts/opensuse/dropbox.install.sh @@ -8,4 +8,4 @@ cd ~ && wget -O - "https://www.dropbox.com/download?plat=lnx.x86_64" | tar xzf - cd bin && wget -O dropbox.py "https://www.dropbox.com/download?dl=packages/dropbox.py" && chmod u+x dropbox.py && cd - -dropbox.py start # or ~/.dropbox-dist/dropboxd +dropbox.py start # or ~/.dropbox-dist/dropboxd diff --git a/scripts/raspberry pi os/boinc-client.setup.bash b/scripts/raspberry pi os/boinc-client.setup.bash index 503ab12..5ad510e 100755 --- a/scripts/raspberry pi os/boinc-client.setup.bash +++ b/scripts/raspberry pi os/boinc-client.setup.bash @@ -15,12 +15,12 @@ boinccmd --acct_mgr attach "${ACCT_MGR_URL}" "${ACCT_MGR_USERNAME}" "${ACCT_MGR_ ## /var/lib/boinc/cc_config.xml # … -# 1 # add this +# 1 # <-- add this # # ## ## /var/lib/boinc/remote_hosts.cfg ## network addresses do not work, only single hosts -# 192.168.0.190 # mb-laptop +# 192.168.0.190 # my-laptop ##