Warning: chmod(): Operation not permitted in /var/www/hopeinstoughton_www/wp-content/plugins/simple-universal-google-analytics/main.php on line 8 [0] in function chmod in /var/www/hopeinstoughton_www/wp-content/plugins/simple-universal-google-analytics/main.php on line 8 [1] in function include_once in /var/www/hopeinstoughton_www/wp-settings.php on line 560 [2] in function require_once in /var/www/hopeinstoughton_www/wp-config.php on line 85 [3] in function require_once in /var/www/hopeinstoughton_www/wp-load.php on line 50 [4] in function require_once in /var/www/hopeinstoughton_www/wp-blog-header.php on line 13 [5] in function require in /var/www/hopeinstoughton_www/index.php on line 17
| Server IP : 94.177.8.99 / Your IP : 216.73.217.165 Web Server : Apache/2.4.58 (Ubuntu) System : Linux aries 6.8.0-134-generic #134-Ubuntu SMP PREEMPT_DYNAMIC Fri Jun 26 18:43:11 UTC 2026 x86_64 User : www-data ( 33) PHP Version : 8.1.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /bin/ |
Upload File : |
#!/bin/sh
# SPDX-License-Identifier: GPL-3.0-only
set -e
# for initramfs-tools hook-functions
export DESTDIR=/run/initramfs
# for /usr/lib/dracut/dracut-install
export DESTROOTDIR=$DESTDIR
# initramfs-tools now requires this to be set
export verbose=n
# something already created shutdown initramfs
# same check is done by e.g. dracut-shutdown
# it is expected that any shutdown initramfs is good enough
[ ! -x $DESTDIR/bin/sh ] || exit 0
# /run may be mounted noexec,nosuid => fix it
# it should be a more normal/default filesystem post-pivot
# systemd-shutdownd pivot does not currently remount /run with these
# options
mount -o remount,exec /run
### SHUTDOWN SUPPORT ###
# our shutdown sequence is to be controled by systemd-shutdown which
# will unmount all the things, and run our hooks
for bin in /bin/sh /lib/systemd/systemd-shutdown
do
rm -f /run/finalrd-libs.conf
touch /run/finalrd-libs.conf
for lib in `LD_TRACE_LOADED_OBJECTS=1 $bin | grep -Eow "/.* "`
do
if [ "$lib" = '=>' ]
then
continue
fi
if grep -q $lib /run/finalrd-libs.conf
then
continue
fi
echo "d $(dirname $DESTDIR$lib)" >> /run/finalrd-libs.conf
if [ -L $lib ]
then
target=$(realpath -e $lib)
echo "C $DESTDIR$target - - - - $target" >> /run/finalrd-libs.conf
echo "L $DESTDIR$lib - - - - $(readlink $lib)" >> /run/finalrd-libs.conf
else
echo "C $DESTDIR$lib - - - - $lib" >> /run/finalrd-libs.conf
fi
done
done
systemd-tmpfiles --create /usr/lib/finalrd/finalrd-static.conf /run/finalrd-libs.conf
### HOOKS SUPPORT ###
# Without initramfs-tools, hooks are not supported
[ -e /usr/share/initramfs-tools/hook-functions ] || exit 0
. /usr/share/initramfs-tools/hook-functions
for d in /usr/share/finalrd /etc/finalrd /run/finalrd
do
if [ -d $d ]
then
run-parts -v --regex='^.*\.finalrd$' --arg=setup -- $d || :
find $d -executable -name '*.finalrd' -exec cp -- "{}" $DESTDIR/lib/systemd/system-shutdown \;
fi
done
ldconfig -r $DESTDIR