Sophie

Sophie

distrib > PLD > ac > amd64 > by-pkgid > ed24f2de76a714d3ba06bf6bdc3d5913 > scriptlet

rc-scripts-0.4.1.4-1.amd64.rpm

POSTIN

/bin/sh
if [ -f /etc/inittab.rpmsave ]; then
	echo "**** Found old /etc/inittab.rpmsave ****"
	echo "/etc/inittab renamed to /etc/inittab.rpmnew"
	mv -f /etc/inittab /etc/inittab.rpmnew
	echo "/etc/inittab.rpmsave renamed to /etc/inittab."
	mv -f /etc/inittab.rpmsave /etc/inittab
fi
touch /var/log/dmesg
chown root:root /var/log/dmesg
chmod 640 /var/log/dmesg
touch /var/cache/rc-scripts/msg.cache
chmod 644 /var/cache/rc-scripts/msg.cache
chown root:root /var/cache/rc-scripts/msg.cache

# move network interfaces description files to new location

Triggers

initscripts

/bin/sh
mv -f /etc/sysconfig/network-scripts/ifcfg-* /etc/sysconfig/interfaces