rename directory 'python' to 'interface', for I think it is a better name for its included python scripts function.
21 lines
218 B
Bash
Executable File
21 lines
218 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# run post_add scripts
|
|
#
|
|
pkg_dir=/var/lib/pkg
|
|
ls -rt ${pkg_dir}/*.post_add | while read pa_file
|
|
do
|
|
source ${pa_file}
|
|
rm ${pa_file}
|
|
done
|
|
|
|
rm $pkg_dir/*-serv.conf
|
|
|
|
#
|
|
#
|
|
# Destroy itself
|
|
#
|
|
|
|
rm -f $0
|
|
|