Browse Source

provision.pl - handle skel directory for admin user

tags/release-00
gashapwn 3 years ago
parent
commit
34ccae79ef
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      perl-script/provision.pl

+ 4
- 0
perl-script/provision.pl View File

@@ -51,6 +51,10 @@ chdir $REPO_DIR;
system("mkdir ./skel/public_html/cgi");
system("cp -r ./skel/* /etc/skel/");

# setup admin user
system("cp -r ./skel/* /home/$admin_un/");
system("chown -R $admin_un:$admin_un /home/$admin_un");

# Setup the virtual environment
system("pkg_add python3");
printf("generating virutal enviornment...\n");


Loading…
Cancel
Save