K2LL33D SHELL

 Apache/2.4.7 (Ubuntu)
 Linux sman1baleendah 3.13.0-24-generic #46-Ubuntu SMP Thu Apr 10 19:11:08 UTC 2014 x86_64
 uid=33(www-data) gid=33(www-data) groups=33(www-data)
 safemode : OFF
 MySQL: ON | Perl: ON | cURL: OFF | WGet: ON
  >  / var / lib / dpkg / info /
server ip : 104.21.89.46

your ip : 172.69.214.16

H O M E


Filename/var/lib/dpkg/info/dbus.postinst
Size2.43 kb
Permissionrwxr-xr-x
Ownerroot : root
Create time27-Apr-2025 09:54
Last modified02-Apr-2014 08:22
Last accessed06-Jul-2025 22:42
Actionsedit | rename | delete | download (gzip)
Viewtext | code | image
#!/bin/sh
# Copyright © 2003 Colin Walters <[email protected]>
# Copyright © 2006 Sjoerd Simons <[email protected]>

set -e

MESSAGEUSER=messagebus
MESSAGEHOME=/var/run/dbus
LAUNCHER=/usr/lib/dbus-1.0/dbus-daemon-launch-helper

if [ "$1" = configure ]; then
adduser --system \
--quiet \
--home "$MESSAGEHOME" \
--no-create-home \
--disabled-password \
--group "$MESSAGEUSER"

if ! dpkg-statoverride --list "$LAUNCHER" >/dev/null 2>&1; then
chown root:"$MESSAGEUSER" "$LAUNCHER"
chmod 4754 "$LAUNCHER"
fi

# This is idempotent, so it's OK to do every time. The system bus' init
# script does this anyway, but you also have to do this before a session
# bus will work, so we do this here for the benefit of people starting
# a temporary session bus in a chroot
dbus-uuidgen --ensure
fi

# Remove stop symlinks for runlevel 1 as killprocs already does the job for us.
if [ "$1" = configure ] && dpkg --compare-versions "$2" lt-nl 1.2.24-1; then
rm -f /etc/rc1.d/K??dbus
fi

if [ "$1" = configure ] && [ -n "$2" ]; then
# On upgrades, we only reload config, and don't restart (restarting the
# system bus is not supported by upstream). The code added by
# dh_installinit -r creates a start action, below.

PID=$(status "dbus" 2>/dev/null | awk '/[0-9]$/ { print $NF }')
if [ -n "$PID" ]; then
# trigger an update notification which recommends to reboot
[ -x /usr/share/update-notifier/notify-reboot-required ] && \
/usr/share/update-notifier/notify-reboot-required || true
fi

# This is what the init script would do, but it's simpler (and less
# dependent on sysvinit vs. Upstart) if we do it directly.
# If it's not running (perhaps we're in a chroot) this will just fail
# harmlessly, so there's no need to condition on status.
dbus-send --print-reply --system --type=method_call \
--dest=org.freedesktop.DBus \
/ org.freedesktop.DBus.ReloadConfig > /dev/null || true
fi

# Automatically added by dh_installinit
if [ -x "/etc/init.d/dbus" ] || [ -e "/etc/init/dbus.conf" ]; then
if [ ! -e "/etc/init/dbus.conf" ]; then
update-rc.d dbus start 12 2 3 4 5 . >/dev/null
fi
invoke-rc.d dbus start || exit $?
fi
# End automatically added section
# Automatically added by dh_installinit
update-rc.d -f dbus remove >/dev/null || exit $?
# End automatically added section