diff options
Diffstat (limited to 'bin/slup')
| -rwxr-xr-x | bin/slup | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/bin/slup b/bin/slup new file mode 100755 index 0000000..72baede --- /dev/null +++ b/bin/slup @@ -0,0 +1,11 @@ +#!/bin/sh + +# Slackware packages update. + +[ "$USER" = root ] || exec sudo "$0" "$@" + +slackpkg -batch=on update +slackpkg upgrade-all + +[ /boot/vmlinuz -nt /boot/initrd.gz ] && + geninitrd && cd /boot && cp -p vmlinuz initrd.gz efi/EFI/Slackware/ |
