summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2012-05-12 05:10:35 +0200
committerDave Reisner <dreisner@archlinux.org>2012-05-18 15:39:04 +0200
commit20145c212ea0517a5d48ad222b29deffe8cd09eb (patch)
treec2221f977d0ed6220a735c91171c3fef2237d947
parentd858992503af95549961d982b98a727a2ede937e (diff)
downloadmkinitcpio-20145c212ea0517a5d48ad222b29deffe8cd09eb.tar.gz
mkinitcpio-20145c212ea0517a5d48ad222b29deffe8cd09eb.tar.xz
shutdown: package as 644, install as 755
There's no need to keep this mildly dangerous script executable on the filesystem. Signed-off-by: Dave Reisner <dreisner@archlinux.org>
-rw-r--r--install/shutdown2
-rw-r--r--[-rwxr-xr-x]shutdown0
2 files changed, 1 insertions, 1 deletions
diff --git a/install/shutdown b/install/shutdown
index e9a5d93..96818e1 100644
--- a/install/shutdown
+++ b/install/shutdown
@@ -3,7 +3,7 @@
build() {
add_binary cp
add_binary lsblk
- add_file "/usr/lib/initcpio/shutdown" "/shutdown"
+ add_file "/usr/lib/initcpio/shutdown" "/shutdown" 755
add_runscript
}
diff --git a/shutdown b/shutdown
index ce7de23..ce7de23 100755..100644
--- a/shutdown
+++ b/shutdown