@Ghazascanner
_2019runbot
Ghazascanner File Manager
server :Linux adweb87 2.6.32-754.el6.x86_64 #1 SMP Tue Jun 19 21:26:04 UTC 2018 x86_64
Current Path :
/
etc
/
vsftpd
/
Path :
Upload File :
New :
File
Dir
//etc/vsftpd/vsftpd_conf_migrate.sh
#!/bin/bash #move old config files and symlink them #shipped with vsftpd-2.0.1-6 PREFIX="vsftpd" for file in $( ls /etc/${PREFIX}.* ); do if [ ! -L $file ]; then new=`echo $file | sed s/${PREFIX}\./${PREFIX}\\\\//g | sed s/\.rpmsave//g` mv -f ${file} ${new} ln -s ${new} ${file} echo $file moved to $new fi done