iankelling.org
/
git
/
distro-setup
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8452f3f
)
remove presumably testing condition
author
Ian Kelling
<ian@iankelling.org>
Mon, 5 Aug 2019 05:20:58 +0000
(
01:20
-0400)
committer
Ian Kelling
<ian@iankelling.org>
Mon, 5 Aug 2019 05:20:58 +0000
(
01:20
-0400)
keyscript-off
patch
|
blob
|
history
diff --git
a/keyscript-off
b/keyscript-off
index b26ed9d60961288b4de4ae22449572449d0b4fcb..84f253c27e800674675af3d9ea4d429c92a5366a 100755
(executable)
--- a/
keyscript-off
+++ b/
keyscript-off
@@
-23,10
+23,6
@@
if [[ $- != *i* ]]; then
fi
sed="sed --follow-symlinks"
-if [[ $HOSTNAME == kw ]]; then
- exit 0
-fi
-
if [[ $($sed -rn 's/^ID=(.*)/\1/p' /etc/os-release) == arch ]]; then
if grep -q '^\s*FILES=' /etc/mkinitcpio.conf; then
$sed -ri 's/^\s*FILES=/#\0/' /etc/mkinitcpio.conf # comment out