diff options
author | Timo Teräs <timo.teras@iki.fi> | 2011-11-17 10:30:37 +0200 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2011-11-17 10:30:37 +0200 |
commit | e21aa81e21e52fd618dc5d7cae48f5d788c8991f (patch) | |
tree | 527f9994d79df7c86fdd719c6ece68fe031696d3 /testing/asterisk/asterisk.pre-upgrade | |
parent | af8f7454a4f2858316a5fb832da2a91ae0b4f890 (diff) | |
download | aports-e21aa81e21e52fd618dc5d7cae48f5d788c8991f.tar.bz2 aports-e21aa81e21e52fd618dc5d7cae48f5d788c8991f.tar.xz |
testing/asterisk: copied from main with upgrade to 10.0.0-rc2
Diffstat (limited to 'testing/asterisk/asterisk.pre-upgrade')
-rw-r--r-- | testing/asterisk/asterisk.pre-upgrade | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/testing/asterisk/asterisk.pre-upgrade b/testing/asterisk/asterisk.pre-upgrade new file mode 100644 index 000000000..09985d7cd --- /dev/null +++ b/testing/asterisk/asterisk.pre-upgrade @@ -0,0 +1,12 @@ +#!/bin/sh + +user=asterisk +home=/var/lib/asterisk +adduser -h $home -s /bin/false -D $user 2>/dev/null +mkdir -p $home +chown $user:$user $home + +addgroup dialout 2>/dev/null +addgroup $user dialout 2>/dev/null +exit 0 + |