diff --git a/auto-deploy.exp b/auto-deploy.exp index b422308..374db51 100755 --- a/auto-deploy.exp +++ b/auto-deploy.exp @@ -1,6 +1,6 @@ #!/usr/local/bin/expect -f # -# Copyright (c) 2019-2020 Mischa Peters +# Copyright (c) 2019-2021 Mischa Peters # # Permission to use, copy, modify, and distribute this software for any # purpose with or without fee is hereby granted, provided that the above diff --git a/auto-start.exp b/auto-start.exp index b542ba1..8321481 100755 --- a/auto-start.exp +++ b/auto-start.exp @@ -1,6 +1,6 @@ #!/usr/local/bin/expect -f # -# Copyright (c) 2019 Mischa Peters +# Copyright (c) 2019-2021 Mischa Peters # # Permission to use, copy, modify, and distribute this software for any # purpose with or without fee is hereby granted, provided that the above diff --git a/cease.sh b/cease.sh index 7039f6b..f0d3739 100755 --- a/cease.sh +++ b/cease.sh @@ -1,6 +1,6 @@ #!/bin/sh # -# Copyright (c) 2019 Mischa Peters +# Copyright (c) 2019-2021 Mischa Peters # # Permission to use, copy, modify, and distribute this software for any # purpose with or without fee is hereby granted, provided that the above diff --git a/deploy.pl b/deploy.pl index c8c7ca8..24a0581 100755 --- a/deploy.pl +++ b/deploy.pl @@ -1,6 +1,6 @@ #!/usr/bin/env perl # -# Copyright (c) 2019-2020 Mischa Peters +# Copyright (c) 2019-2021 Mischa Peters # # Permission to use, copy, modify, and distribute this software for any # purpose with or without fee is hereby granted, provided that the above diff --git a/email.sh b/email.sh index f8b1de0..0f41c4e 100755 --- a/email.sh +++ b/email.sh @@ -1,6 +1,6 @@ #!/bin/sh # -# Copyright (c) 2019 Mischa Peters +# Copyright (c) 2019-2021 Mischa Peters # # Permission to use, copy, modify, and distribute this software for any # purpose with or without fee is hereby granted, provided that the above diff --git a/ipinfo.sh b/ipinfo.sh index 9e04033..f310746 100755 --- a/ipinfo.sh +++ b/ipinfo.sh @@ -1,6 +1,6 @@ #!/bin/sh # -# Copyright (c) 2019-2020 Mischa Peters +# Copyright (c) 2019-2021 Mischa Peters # # Permission to use, copy, modify, and distribute this software for any # purpose with or without fee is hereby granted, provided that the above diff --git a/launch.sh b/launch.sh index b56f3ca..3d21aa1 100755 --- a/launch.sh +++ b/launch.sh @@ -1,6 +1,6 @@ #!/bin/sh # -# Copyright (c) 2019-2020 Mischa Peters +# Copyright (c) 2019-2021 Mischa Peters # # Permission to use, copy, modify, and distribute this software for any # purpose with or without fee is hereby granted, provided that the above diff --git a/load.sh b/load.sh index 055aeca..9f7c9b2 100755 --- a/load.sh +++ b/load.sh @@ -1,6 +1,6 @@ #!/bin/sh # -# Copyright (c) 2019-2020 Mischa Peters +# Copyright (c) 2019-2021 Mischa Peters # # Permission to use, copy, modify, and distribute this software for any # purpose with or without fee is hereby granted, provided that the above diff --git a/notify.pl b/notify.pl index 026487c..172e181 100755 --- a/notify.pl +++ b/notify.pl @@ -1,6 +1,6 @@ #!/usr/bin/env perl # -# Copyright (c) 2020 Mischa Peters +# Copyright (c) 2019-2021 Mischa Peters # # Permission to use, copy, modify, and distribute this software for any # purpose with or without fee is hereby granted, provided that the above diff --git a/remove.pl b/remove.pl index 02a7d0f..f52b235 100755 --- a/remove.pl +++ b/remove.pl @@ -1,6 +1,6 @@ #!/usr/bin/env perl # -# Copyright (c) 2020 Mischa Peters +# Copyright (c) 2019-2021 Mischa Peters # # Permission to use, copy, modify, and distribute this software for any # purpose with or without fee is hereby granted, provided that the above diff --git a/startall.sh b/startall.sh index fc283f7..6a8275a 100755 --- a/startall.sh +++ b/startall.sh @@ -1,6 +1,6 @@ #!/bin/sh # -# Copyright (c) 2019-2020 Mischa Peters +# Copyright (c) 2019-2021 Mischa Peters # # Permission to use, copy, modify, and distribute this software for any # purpose with or without fee is hereby granted, provided that the above diff --git a/stats.sh b/stats.sh index e580c8c..85c5479 100755 --- a/stats.sh +++ b/stats.sh @@ -1,6 +1,6 @@ #!/bin/sh # -# Copyright (c) 2019-2020 Mischa Peters +# Copyright (c) 2019-2021 Mischa Peters # # Permission to use, copy, modify, and distribute this software for any # purpose with or without fee is hereby granted, provided that the above diff --git a/stopall.sh b/stopall.sh index b00a904..7edecdd 100755 --- a/stopall.sh +++ b/stopall.sh @@ -1,6 +1,6 @@ #!/bin/sh # -# Copyright (c) 2020 Mischa Peters +# Copyright (c) 2019-2021 Mischa Peters # # Permission to use, copy, modify, and distribute this software for any # purpose with or without fee is hereby granted, provided that the above diff --git a/sync-it.sh b/sync-it.sh index 8bedaf7..bb8123f 100755 --- a/sync-it.sh +++ b/sync-it.sh @@ -1,3 +1,19 @@ #!/bin/sh +#!/bin/sh +# +# Copyright (c) 2019-2021 Mischa Peters +# +# Permission to use, copy, modify, and distribute this software for any +# purpose with or without fee is hereby granted, provided that the above +# copyright notice and this permission notice appear in all copies. +# +# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR +# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF +# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +# OPTIONS=${1:--qa} /usr/local/bin/rsync ${OPTIONS} /etc /home/mischa /var/nsd /var/unbound /var/www n1.high5.nl::obsdams/$(hostname -s) --del diff --git a/wired.sh b/wired.sh new file mode 100755 index 0000000..b7b2b0b --- /dev/null +++ b/wired.sh @@ -0,0 +1,18 @@ +#!/bin/sh +# +# Copyright (c) 2019-2021 Mischa Peters +# +# Permission to use, copy, modify, and distribute this software for any +# purpose with or without fee is hereby granted, provided that the above +# copyright notice and this permission notice appear in all copies. +# +# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR +# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF +# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +# +WIRED=$(systat -b uvm | awk '/ wired / {print $1,$2}') +echo "${WIRED} - $(hostname)"