1
0
mirror of https://github.com/fspc/gbootroot.git synced 2025-02-24 09:23:23 -05:00
gbootroot/pkg/dpkg/gbootroot.postinst

17 lines
360 B
Plaintext
Raw Normal View History

2001-09-11 04:28:18 +00:00
#!/bin/sh
2001-09-13 17:39:06 +00:00
if [ ! -e /usr/share/gbootroot/yard/Replacements/dev/ubd0 ]; then
mknod /usr/share/gbootroot/yard/Replacements/dev/ubd0 b 98 0
fi
2001-09-11 04:28:18 +00:00
2001-09-25 00:32:32 +00:00
#DEBHELPER#
# Make uml_net setuid, but respects Sysadm's choices.
if [ -z "$(dpkg-statoverride --list /usr/bin/uml_net)" ]; then
chown root.root /usr/bin/uml_net
chmod 4755 /usr/bin/uml_net
fi