1 |
commit: 8f7472881dff656d1505e693318478c258b8406e |
2 |
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jul 2 13:40:50 2015 +0000 |
4 |
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jul 2 13:40:50 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/grs.git/commit/?id=8f747288 |
7 |
|
8 |
Remove traps for scripts, let cgroup take care of it. |
9 |
|
10 |
scripts/passwd.sh | 5 ----- |
11 |
1 file changed, 5 deletions(-) |
12 |
|
13 |
diff --git a/scripts/passwd.sh b/scripts/passwd.sh |
14 |
index 8bbbbbb..03dcc0f 100644 |
15 |
--- a/scripts/passwd.sh |
16 |
+++ b/scripts/passwd.sh |
17 |
@@ -1,10 +1,5 @@ |
18 |
#!/bin/bash -e |
19 |
|
20 |
-trap "kill -9 $$" SIGTERM |
21 |
-trap "kill -9 $$" SIGHUP |
22 |
-trap "kill -9 $$" SIGKILL |
23 |
-trap "kill -9 $$" SIGINT |
24 |
- |
25 |
echo root:root | chpasswd |
26 |
|
27 |
useradd -m gentoo |