Move when /opt dirs are created. Copy pushover to /opt/bin.
This commit is contained in:
parent
68b98281bd
commit
1ef2994dbd
2 changed files with 15 additions and 11 deletions
|
@ -32,9 +32,6 @@ gpg -c -o /etc/shadow.gpg /etc/shadow
|
|||
echo "Encrypting /etc/gshadow..."
|
||||
gpg -c -o /etc/gshadow.gpg /etc/gshadow
|
||||
|
||||
# Create /opt directories.
|
||||
mkdir -p -m 755 {/opt,/opt/{bin,include,info,lib64,man,man/man{0..8},sbin,share}}
|
||||
|
||||
# Create log archive directories and move old log files.
|
||||
[ ! -d /var/log/Archived/pre-sysconfig ] && {
|
||||
mkdir -p -m 750 /var/log/Archived
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue