Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 329878 Details for
Bug 443728
app-laptop/prey-0.5.4-r1: /etc/init.d/prey-trigger is installed as invalid symlink, first run attempts to locate an rc3.d directory, system module error
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch file for Services
services.gentoo.patch (text/plain), 1.30 KB, created by
Justin M Griggs
on 2012-11-18 18:52:02 UTC
(
hide
)
Description:
Patch file for Services
Filename:
MIME Type:
Creator:
Justin M Griggs
Created:
2012-11-18 18:52:02 UTC
Size:
1.30 KB
patch
obsolete
>--- services.old 2012-11-18 12:43:59.000000000 -0500 >+++ services 2012-11-18 13:32:19.668831510 -0500 >@@ -18,9 +18,10 @@ > linux_copy_init_script(){ > local full_init_script_path="$1/$2" > if [ ! -e "$full_init_script_path" ]; then >- ln -s "$(full_path $base_path)/${platform_path}/${2}" "$full_init_script_path" 2> /dev/null >+ ln -s "${platform_path}/${2}" "$full_init_script_path" 2> /dev/null > local retval=$? > [ $retval != 0 ] && log " !! Couldn't copy init script into ${1}!" >+ chmod +x "${platform_path}/${2}" > return $retval > fi > return 0 >@@ -73,11 +74,24 @@ > [ $? == 0 ] && chkconfig --del $1 > } > >+# We'll hijack arch's service load until upstreak adds a gentoo distro > arch_load_service(){ >- linux_copy_init_script '/etc/rc.d' $1 >- [ $? == 0 ] && log " -- Prey network trigger has been copied to /etc/rc.d/$1. Remember to add it to /etc/rc.conf!" >+ linux_copy_init_script '/etc/init.d' $1 >+ rc-update add prey-trigger default > } > > arch_unload_service(){ >- linux_remove_init_script '/etc/rc.d' $1 >+ rc-update delete prey-trigger >+ linux_remove_init_script '/etc/init.d' $1 >+} >+ >+gentoo_load_service(){ >+ linux_copy_init_script '/etc/init.d' $1 >+ rc-update add prey-trigger default > } >+ >+gentoo_unload_service(){ >+ rc-update delete prey-trigger >+ linux_remove_init_script '/etc/init.d' $1 >+} >+
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 443728
:
329784
|
329786
|
329788
|
329790
|
329876
| 329878