Updated vsftpd lfs & rootfile

This commit is contained in:
Arne Fitzenreiter
2009-10-21 20:36:56 +02:00
parent cfdf8083e1
commit e9d2e11d05
4 changed files with 10 additions and 7 deletions

View File

@@ -1,5 +1,8 @@
var/ipfire/backup/addons/includes/vsftpd
etc/rc.d/init.d/vsftpd
etc/rc.d/rc0.d/K35vsftpd
etc/rc.d/rc6.d/K35vsftpd
etc/rc.d/rc3.d/S65vsftpd
etc/vsftpd.conf
etc/vsftpd.user_list
home/ftp

View File

@@ -1,7 +1,7 @@
###############################################################################
# #
# IPFire.org - A linux based firewall #
# Copyright (C) 2007 Michael Tremer & Christian Schmidt #
# Copyright (C) 2009 Michael Tremer & Christian Schmidt #
# #
# This program is free software: you can redistribute it and/or modify #
# it under the terms of the GNU General Public License as published by #
@@ -87,9 +87,9 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
cd $(DIR_APP) && install -v -m 644 vsftpd.conf.5 /usr/share/man/man5
cd $(DIR_APP) && install -v -m 644 $(DIR_SRC)/config/vsftpd/vsftpd.conf /etc
cd $(DIR_APP) && install -v -m 644 $(DIR_SRC)/config/vsftpd/vsftpd.user_list /etc
ln -s ../init.d/vsftpd /etc/rc.d/rc3.d/S65vsftpd
ln -s ../init.d/vsftpd /etc/rc.d/rc0.d/K35vsftpd
ln -s ../init.d/vsftpd /etc/rc.d/rc6.d/K35vsftpd
ln -sf ../init.d/vsftpd /etc/rc.d/rc3.d/S65vsftpd
ln -sf ../init.d/vsftpd /etc/rc.d/rc0.d/K35vsftpd
ln -sf ../init.d/vsftpd /etc/rc.d/rc6.d/K35vsftpd
install -v -m 644 $(DIR_SRC)/config/backup/includes/vsftpd \
/var/ipfire/backup/addons/includes/vsftpd
@rm -rf $(DIR_APP)

View File

@@ -24,7 +24,5 @@
. /opt/pakfire/lib/functions.sh
extract_files
restore_backup ${NAME}
start_service --background ${NAME}
# Disable vsftpd by default due to lack of configuration file
/usr/local/bin/addonctrl vsftpd disable

View File

@@ -23,4 +23,6 @@
#
. /opt/pakfire/lib/functions.sh
./uninstall.sh
./install.sh
extract_files
restore_backup ${NAME}
start_service --background ${NAME}