diff options
author | erdgeist <erdgeist@erdgeist.org> | 2006-02-09 16:01:57 +0000 |
---|---|---|
committer | erdgeist <erdgeist@erdgeist.org> | 2006-02-09 16:01:57 +0000 |
commit | 7e4d3e19016aa78c8449e71d2cdda27ccb54cc97 (patch) | |
tree | 8fe1894ee1e4955e37c8b3a4708d17407e88cc18 | |
parent | 3a75a73eec35307b281342c222a9b0dfdadbbcd1 (diff) |
Put into rcorder
-rwxr-xr-x | examples/example/ezjail.flavour | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/examples/example/ezjail.flavour b/examples/example/ezjail.flavour index c0e160f..8d96503 100755 --- a/examples/example/ezjail.flavour +++ b/examples/example/ezjail.flavour | |||
@@ -1,20 +1,20 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | # | 2 | # |
3 | # BEFORE: DAEMON | ||
4 | # | ||
3 | # ezjail flavour example | 5 | # ezjail flavour example |
4 | 6 | ||
5 | # Hide | 7 | # Hide |
6 | ###### | 8 | ####### |
7 | # | 9 | # |
8 | # Prevent this script from being called over and over | 10 | # Prevent this script from being called over and over if something fails. |
9 | # if something fails. | ||
10 | 11 | ||
11 | rm -f /etc/rc.d/ezjail-config.sh /ezjail.flavour | 12 | rm -f /etc/rc.d/ezjail-config.sh /ezjail.flavour |
12 | 13 | ||
13 | # Groups | 14 | # Groups |
14 | ######### | 15 | ######### |
15 | # | 16 | # |
16 | # You will probably start with some groups your users | 17 | # You will probably start with some groups your users should be in |
17 | # should be in | ||
18 | 18 | ||
19 | # pw groupadd -q -n coders # -g 1004 | 19 | # pw groupadd -q -n coders # -g 1004 |
20 | # pw groupadd -q -n sales # -g 1005 | 20 | # pw groupadd -q -n sales # -g 1005 |
@@ -22,9 +22,8 @@ rm -f /etc/rc.d/ezjail-config.sh /ezjail.flavour | |||
22 | # Users | 22 | # Users |
23 | ######## | 23 | ######## |
24 | # | 24 | # |
25 | # You might want to add some users. | 25 | # You might want to add some users. The password is to be provided in the |
26 | # The password is to be provided in the encrypted form | 26 | # encrypted form as found in /etc/master.passwd |
27 | # as found in /etc/master.passwd | ||
28 | # refer to pw(8) for more information | 27 | # refer to pw(8) for more information |
29 | 28 | ||
30 | # echo -n '$1$p75bbfK.$Kz3dwkoVlgZrfLZdAXQt91' |\ | 29 | # echo -n '$1$p75bbfK.$Kz3dwkoVlgZrfLZdAXQt91' |\ |
@@ -46,15 +45,16 @@ rm -f /etc/rc.d/ezjail-config.sh /ezjail.flavour | |||
46 | ########### | 45 | ########### |
47 | # | 46 | # |
48 | # Install all packages previously put to /pkg | 47 | # Install all packages previously put to /pkg |
48 | # Remove package files afterwards | ||
49 | 49 | ||
50 | [ -d /pkg ] && PACKAGESITE=file:// pkg_add -r /pkg/* | 50 | [ -d /pkg ] && PACKAGESITE=file:// pkg_add -r /pkg/* |
51 | rm -rf /pkg | 51 | rm -rf /pkg |
52 | 52 | ||
53 | # Postinstall | 53 | # Postinstall |
54 | ################# | 54 | ############## |
55 | # | 55 | # |
56 | # Your own stuff here, for example set login shells | 56 | # Your own stuff here, for example set login shells that were only |
57 | # that were only installed just before | 57 | # installed just before |
58 | 58 | ||
59 | # chpass -s /usr/local/bin/bash admin | 59 | # chpass -s /usr/local/bin/bash admin |
60 | # pkg_add -r pico | 60 | # pkg_add -r pico |