MOON
Server: Apache
System: Linux host.communityeducationproject.org 3.10.0-1160.105.1.vz7.214.3 #1 SMP Tue Jan 9 19:45:01 MSK 2024 i686
User: ohiobwc (508)
PHP: 5.6.23
Disabled: show_source, system, passthru, popen, proc_open, allow_url_fopen
Upload Files
File: //scripts/copy-etc-files
#!/bin/sh

set -e

if [ "x$1" = 'x--help' ]
then
    cat <<EOM
Usage: copy-etc-files

Copies customized bashrc, issue, and issue.net files to /etc.
This behavior was the default before version 56.
EOM
    exit 0
fi

SRC=/usr/local/cpanel/etc
DEST=/etc

for i in bashrc issue issue.net
do
    cp "$SRC/$i" "$DEST/$i"
done