Put into rcorder

This commit is contained in:
erdgeist 2006-02-09 16:01:57 +00:00
parent 3a75a73eec
commit 7e4d3e1901

View File

@ -1,20 +1,20 @@
#!/bin/sh #!/bin/sh
# #
# BEFORE: DAEMON
#
# ezjail flavour example # ezjail flavour example
# Hide # Hide
###### #######
# #
# Prevent this script from being called over and over # Prevent this script from being called over and over if something fails.
# if something fails.
rm -f /etc/rc.d/ezjail-config.sh /ezjail.flavour rm -f /etc/rc.d/ezjail-config.sh /ezjail.flavour
# Groups # Groups
######### #########
# #
# You will probably start with some groups your users # You will probably start with some groups your users should be in
# should be in
# pw groupadd -q -n coders # -g 1004 # pw groupadd -q -n coders # -g 1004
# pw groupadd -q -n sales # -g 1005 # pw groupadd -q -n sales # -g 1005
@ -22,9 +22,8 @@ rm -f /etc/rc.d/ezjail-config.sh /ezjail.flavour
# Users # Users
######## ########
# #
# You might want to add some users. # You might want to add some users. The password is to be provided in the
# The password is to be provided in the encrypted form # encrypted form as found in /etc/master.passwd
# as found in /etc/master.passwd
# refer to pw(8) for more information # refer to pw(8) for more information
# echo -n '$1$p75bbfK.$Kz3dwkoVlgZrfLZdAXQt91' |\ # echo -n '$1$p75bbfK.$Kz3dwkoVlgZrfLZdAXQt91' |\
@ -46,15 +45,16 @@ rm -f /etc/rc.d/ezjail-config.sh /ezjail.flavour
########### ###########
# #
# Install all packages previously put to /pkg # Install all packages previously put to /pkg
# Remove package files afterwards
[ -d /pkg ] && PACKAGESITE=file:// pkg_add -r /pkg/* [ -d /pkg ] && PACKAGESITE=file:// pkg_add -r /pkg/*
rm -rf /pkg rm -rf /pkg
# Postinstall # Postinstall
################# ##############
# #
# Your own stuff here, for example set login shells # Your own stuff here, for example set login shells that were only
# that were only installed just before # installed just before
# chpass -s /usr/local/bin/bash admin # chpass -s /usr/local/bin/bash admin
# pkg_add -r pico # pkg_add -r pico