mirror of
git://slackware.nl/current.git
synced 2024-12-28 09:59:53 +01:00
6e50489fed
a/pkgtools-15.0-noarch-39.txz: Rebuilt. upgradepkg: revert change where $ROOT/sbin/installpkg is called instead of /sbin/installpkg. Conceptually, this seemed like a nice change (but would have also required removepkg to be called the same way), but it seems to break an established expectation that the pkgtools can be used without them actually being installed in $ROOT. Thanks to alienBOB. a/sysvinit-scripts-15.0-noarch-2.txz: Rebuilt. Use #!/bin/bash for these scripts so that bashisms don't cause script issues if /bin/sh is some other shell. Thanks to mumahendras3. rc.S: Use GazL's proposals for detecting/mounting /proc and /sys. d/parallel-20210422-noarch-1.txz: Upgraded. l/glib-networking-2.68.1-x86_64-1.txz: Upgraded. l/gtk+3-3.24.29-x86_64-1.txz: Upgraded. x/igt-gpu-tools-1.26-x86_64-1.txz: Upgraded. isolinux/initrd.img: Rebuilt. Rebuild with pkgtools-15.0-noarch-39. usb-and-pxe-installers/usbboot.img: Rebuilt. Rebuild with pkgtools-15.0-noarch-39.
28 lines
780 B
Bash
28 lines
780 B
Bash
#!/bin/bash
|
|
|
|
# /etc/rc.d/rc.modules
|
|
|
|
# Determine the version of the running kernel:
|
|
RELEASE=$(uname -r)
|
|
|
|
# Update kernel module dependencies:
|
|
if [ -e "/lib/modules/$RELEASE/modules.dep" ]; then
|
|
echo "Updating module dependency list for $RELEASE: /sbin/depmod --quick"
|
|
/sbin/depmod --quick
|
|
else
|
|
echo "Creating module dependency list for $RELEASE: /sbin/depmod --all"
|
|
/sbin/depmod --all
|
|
fi
|
|
|
|
# Run any rc.modules-$(uname -r) file that exists (this is used
|
|
# if you have specific modules which should only be loaded for
|
|
# specific kernel versions):
|
|
if [ -x "/etc/rc.d/rc.modules-$RELEASE" ]; then
|
|
/etc/rc.d/rc.modules-$RELEASE
|
|
fi
|
|
|
|
# Run a local (sysadmin-version) of rc.modules if it exists:
|
|
if [ -x "/etc/rc.d/rc.modules.local" ]; then
|
|
/etc/rc.d/rc.modules.local
|
|
fi
|
|
|